ol-mapbox-style
Advanced tools
Comparing version 7.1.0 to 7.1.1
# Changelog | ||
## 7.1.1 | ||
* Do not use overflow for line labels | ||
## 7.1.0 | ||
@@ -4,0 +8,0 @@ |
@@ -709,3 +709,2 @@ /* | ||
new Text({ | ||
overflow: true, | ||
padding: [2, 2, 2, 2], | ||
@@ -739,2 +738,3 @@ })); | ||
text.setPlacement(placement); | ||
text.setOverflow(placement === 'point'); | ||
var textHaloWidth = getValue(layer, 'paint', 'text-halo-width', zoom, f, functionCache); | ||
@@ -741,0 +741,0 @@ var textOffset = getValue(layer, 'layout', 'text-offset', zoom, f, functionCache); |
{ | ||
"name": "ol-mapbox-style", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "Create OpenLayers maps from Mapbox Style objects", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1074,3 +1074,2 @@ /* | ||
new Text({ | ||
overflow: true, | ||
padding: [2, 2, 2, 2], | ||
@@ -1123,2 +1122,3 @@ }) | ||
text.setPlacement(placement); | ||
text.setOverflow(placement === 'point'); | ||
let textHaloWidth = getValue( | ||
@@ -1125,0 +1125,0 @@ layer, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8752506