Skip to content

Releases: openlayers/ol-mapbox-style

v10.3.4

16 Mar 18:43
86bbc35
Compare
Choose a tag to compare

Summary

  • Fix addMapboxLayer - updateMapboxLayer - removeMapboxLayer sequence

What's Changed

Full Changelog: v10.3.3...v10.3.4

v10.3.3

15 Mar 09:11
8d33863
Compare
Choose a tag to compare

Summary

  • Fix updateMapboxLayers() and function/filter cache handling

What's Changed

  • Changes for v10.3.2 by @ahocevar in #846
  • Fix updateMapboxLayer by fixing function and filter cache management by @ahocevar in #847

Full Changelog: v10.3.2...v10.3.3

v10.3.2

14 Mar 11:33
3ec26b8
Compare
Choose a tag to compare

Summary

  • Export removeMapboxLayer

What's Changed

New Contributors

Full Changelog: v10.3.1...v10.3.2

v10.3.1

13 Mar 21:13
ef4ece4
Compare
Choose a tag to compare

Summary

  • Fix initial visibility of vector and geojson source layers

What's Changed

Full Changelog: v10.3.0...v10.3.1

v10.3.0

13 Mar 20:38
11d74df
Compare
Choose a tag to compare

Summary

  • Add support for symbol-placement: "line-center"

What's Changed

Full Changelog: v10.2.0...v10.3.0

v10.2.0

10 Mar 09:30
d98b385
Compare
Choose a tag to compare

Summary

  • Add support for the ["id"] expression

What's Changed

Full Changelog: v10.1.0...v10.2.0

v10.1.0

02 Mar 19:32
d39b1d4
Compare
Choose a tag to compare

Summary

  • New removeMapboxLayer() function
  • Substantial fixes to the addMapboxLayer() function
  • Manage OpenLayers layer visibility based on the visibility of its Mapbox layers

What's Changed

New Contributors

Full Changelog: v10.0.0...v10.1.0

v10.0.0

28 Feb 10:22
cb92579
Compare
Choose a tag to compare

Summary

Breaking changes

BBOX templates for geojson sources

Previously, the {bbox-epsg-3857} and {bbox-epsg-[custom projection srs code]} template replacement included the projection's SRS identifier, e.g. 1234,4567,4321,7654,EPSG:9876. Now, the template replacement just includes the bounding box. This means that e.g. WFS source URLs need to be changed in the Mapbox style.

If you previously had a source definition like

{
  "type": "geojson",
  "data": "https://ahocevar.com/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=osm:water_areas&outputFormat=application/json&srsname=EPSG:4326&bbox={bbox-epsg-3857}"
}

you have to change it to

{
  "type": "geojson",
  "data": "https://ahocevar.com/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=osm:water_areas&outputFormat=application/json&srsname=EPSG:4326&bbox={bbox-epsg-3857},EPSG:3857"
}

The reason for this breaking change is compatibility with OCG API Features and other services that do not accept the SRS identifier as additional BBOX parameter.

What's Changed

Full Changelog: v9.7.0...v10.0.0

v9.7.0

26 Feb 11:48
64a29a0
Compare
Choose a tag to compare

Summary

  • Improved icon halo - now looks the same as text halo
  • New API for working with layer style objects and updating the rendered style
  • Improved access token handling for the Mapbox example

What's Changed

New Contributors

Full Changelog: v9.6.0...v9.7.0

v9.6.0

18 Feb 09:07
ec17137
Compare
Choose a tag to compare

Summary

The v9.6.0 release adds support for the paint properties icon-halo-color and icon-halo-width, adds a new updateSource option to applyStyle() to allow using preconfigured sources, and fixes an issue with the mapbox-layers property on raster layers.

What's Changed

  • Changes for v9.5.0 by @ahocevar in #789
  • Add option to applyStyle to not create/update the layer source by @jnystad in #795
  • Fix 'mapbox-layers' metadata for raster layers by @ahocevar in #800
  • Add support for icon-halo-color and icon-halo-width by @ahocevar in #801

New Contributors

Full Changelog: v9.5.0...v9.6.0