Releases: openlayers/ol-mapbox-style
v10.3.4
v10.3.3
v10.3.2
Summary
- Export
removeMapboxLayer
What's Changed
- Changes for v10.3.1 by @ahocevar in #844
- add
removeMapboxLayer
to exports by @simonseyock in #845
New Contributors
- @simonseyock made their first contribution in #845
Full Changelog: v10.3.1...v10.3.2
v10.3.1
v10.3.0
Summary
- Add support for
symbol-placement: "line-center"
What's Changed
- Add changes for v10.2.0 by @ahocevar in #835
- Add support for symbol-placement: 'line-center' by @ahocevar in #841
- Bump webpack from 5.75.0 to 5.76.1 by @dependabot in #836
- Bump mini-css-extract-plugin from 2.7.2 to 2.7.3 by @dependabot in #837
- Bump puppeteer from 19.7.2 to 19.7.4 by @dependabot in #838
- Bump sinon from 15.0.1 to 15.0.2 by @dependabot in #840
- Bump eslint from 8.35.0 to 8.36.0 by @dependabot in #839
Full Changelog: v10.2.0...v10.3.0
v10.2.0
Summary
- Add support for the
["id"]
expression
What's Changed
- Changes for v10.1.0 by @ahocevar in #830
- Add support for the "id" expression by @ahocevar in #834
- Bump dns-packet from 5.3.1 to 5.4.0 by @dependabot in #831
- Bump @rollup/plugin-buble from 1.0.1 to 1.0.2 by @dependabot in #832
- Bump ol from 7.2.3-dev.1677500192972 to 7.3.0 by @dependabot in #833
Full Changelog: v10.1.0...v10.2.0
v10.1.0
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
- Changes for v10.0.0 by @ahocevar in #821
- Update CHANGELOG.md by @utagawal in #822
- Fix addMapboxLayer by @ahocevar in #827
- Add removeMapboxLayer function by @ahocevar in #828
- Set OpenLayers layer visibility to false when no layers are visible by @ahocevar in #829
New Contributors
Full Changelog: v10.0.0...v10.1.0
v10.0.0
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
- Changes for v9.7.0 by @ahocevar in #812
- Bump eslint from 8.34.0 to 8.35.0 by @dependabot in #813
- Bump rollup-plugin-unassert from 0.5.0 to 0.6.0 by @dependabot in #814
- Bump puppeteer from 19.7.1 to 19.7.2 by @dependabot in #815
- Bump typedoc from 0.23.24 to 0.23.26 by @dependabot in #817
- Bump ol from 7.2.3-dev.1676300784989 to 7.2.3-dev.1677449880006 by @dependabot in #816
- Bump ol from 7.2.3-dev.1677449880006 to 7.2.3-dev.1677500192972 by @dependabot in #819
- Remove SRS identifier from geojson BBOX template replacement by @ahocevar in #820
Full Changelog: v9.7.0...v10.0.0
v9.7.0
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
- Changes for v9.6.0 by @ahocevar in #802
- Bump ua-parser-js from 0.7.31 to 0.7.33 by @dependabot in #790
- Bump @rollup/plugin-commonjs from 24.0.0 to 24.0.1 by @dependabot in #791
- Bump @mapbox/mapbox-gl-style-spec from 13.26.0 to 13.28.0 by @dependabot in #793
- Bump eslint from 8.29.0 to 8.34.0 by @dependabot in #797
- Bump ol from 7.2.3-dev.1674471022184 to 7.2.3-dev.1676300784989 by @dependabot in #803
- Bump karma-sourcemap-loader from 0.3.8 to 0.4.0 by @dependabot in #804
- Bump concat-md from 0.5.0 to 0.5.1 by @dependabot in #805
- Bump puppeteer from 19.5.2 to 19.7.1 by @dependabot in #806
- Bump babel-loader from 9.1.0 to 9.1.2 by @dependabot in #807
- Bump typescript from 4.9.4 to 4.9.5 by @dependabot in #808
- Improved icon halo by @ahocevar in #810
- Update mapbox.js by @L-hikari in #809
- New API for working with layer style objects by @ahocevar in #811
New Contributors
Full Changelog: v9.6.0...v9.7.0
v9.6.0
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