github openlayers/ol-mapbox-style v12.0.0

latest releases: v12.3.5, v12.3.4, v12.3.3...
12 months ago

Backwards incompatible changes

  • The transformRequest hook is now called for every single Tiles request with the final url, instead of just once with the url template.
  • Generated OpenLayers Tile and VectorTile sources previously used the template urls obtained by source.getUrl() or source.getUrls(). Now they use a tileLoadFunction configured by ol-mapbox-style instead.
  • Generated OpenLayers Vector sources are now always configured with a loader by ol-mapbox-style. The getUrl() method will return the url without the transformRequest transform. When the url is templated ({bbox-...}), getUrl() will return undefined.

Other changes

  • The transformRequest hook now also accepts a url string as return value. When a Request is returned, it will be fully respected - not just the request's url.

What's Changed

Full Changelog: v11.0.3...v12.0.0

Don't miss a new ol-mapbox-style release

NewReleases is sending notifications on new releases.