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