Skip to content

Releases: openlayers/ol-mapbox-style

v6.3.0

17 Dec 21:41
cbc0896
Compare
Choose a tag to compare
  • New stylefunction.recordStyleLayer() function to know which rendered layer a feature belongs to (#309)

v6.2.1

09 Dec 18:04
f5f3364
Compare
Choose a tag to compare
  • Improved support for relative urls in style documents (#307)

v6.2.0

09 Dec 17:49
6886dc6
Compare
Choose a tag to compare
  • 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

22 Aug 18:55
821323f
Compare
Choose a tag to compare
  • Fix OpenLayers version mismatch with legacy builds (was missing in 6.1.3) #291

v6.1.3

14 Aug 20:25
af73695
Compare
Choose a tag to compare
  • 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

07 Jun 08:20
f399b36
Compare
Choose a tag to compare
  • 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

24 Mar 22:49
a84d8bf
Compare
Choose a tag to compare
  • Fix version issue with @mapbox/mapbox-gl-style-spec

v6.1.0

22 Mar 19:02
328b8bc
Compare
Choose a tag to compare
  • Improvements and bug fixes for multi-line text and wrapping
  • Support for running stylefunction in web workers

v6.0.1

06 Feb 18:34
98f4df0
Compare
Choose a tag to compare
  • Fixed legacy build (olms.js)

v6.0.0

05 Feb 19:02
c435a3f
Compare
Choose a tag to compare

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