Releases: openlayers/ol-mapbox-style
Releases · openlayers/ol-mapbox-style
v6.3.0
- New
stylefunction.recordStyleLayer()
function to know which rendered layer a feature belongs to (#309)
v6.2.1
- Improved support for relative urls in style documents (#307)
v6.2.0
- Improved support for relative urls in style documents (#304, #307)
- Allow empty spritesheets (#306)
- Added support for
fill-extrusion
, using a 2D fallback (#303)
v6.1.4
- Fix OpenLayers version mismatch with legacy builds (was missing in 6.1.3) #291
v6.1.3
- Added
Object.assign
polyfill for compatibility with old browsers #281
- Fix line wrapping of text labels #283 #284
- Fix OpenLayers version mismatch with legacy builds #291
v6.1.2
- No more polyfills for
Object.assign
and String#startsWith
needed #276
- Fixed issue with disappearing labels #273
- MultiLineString labeling improvements #272
- Improved developer experience with proper TypeScript configuration #270
v6.1.1
- Fix version issue with @mapbox/mapbox-gl-style-spec
v6.1.0
- Improvements and bug fixes for multi-line text and wrapping
- Support for running
stylefunction
in web workers
v6.0.1
- Fixed legacy build (
olms.js
)
v6.0.0
Breaking changes
Module paths
ol-mapbox-style now ships with transpiled modules in the dist/
folder, and sources in the src/
folder. Previously, all modules were provided in the root directory.
When upgrading, the import paths need to be checked. For example,
import stylefunction from 'ol-mapbox-style/stylefunction';
needs to be changed to
import stylefunction from 'ol-mapbox-style/dist/stylefunction';
Other changes
- Allow mapbox:// urls for all layer types, not just vector