mapbox-gl-js
mapbox-gl-js copied to clipboard
Add dynamic raster tiles support
This PR adds methods for changing a raster tile source dynamically (e.g. setTiles
, setUrl
). Same as in vector tiles https://github.com/mapbox/mapbox-gl-js/pull/8048.
Closes https://github.com/mapbox/mapbox-gl-js/issues/11982
Launch Checklist
- [x] briefly describe the changes in this PR
- [x] write tests for all new functionality
- [x] document any changes to public APIs
- [x] apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'
- [x] add an entry inside this element for inclusion in the
mapbox-gl-js
changelog:<changelog>add methods for changing a raster tile source dynamically (e.g. setTiles, setUrl).</changelog>