Add globe projection. This new projection displays the map as a 3d globe and can be enabled by either passing projection: globe to the map constructor or by calling map.setProjection('globe'). All layers are supported by globe except for Custom Layers and Sky.
Extend atmospheric fog with three new style specification properties: high-color, space-color and star-intensity to allow the design of atmosphere around the globe and night skies. (#11590)
Add a new line layer paint property in the style specification: line-trim-offset that can be used to create a custom fade out with improved update performance over line-gradient. (#11570)
Add an option for providing a geolocation adapter to GeolocateControl. (#10400) (h/t behnammodi)
Add Map.Title property to locale options to localise the map aria-label. (#11549) (h/t andrewharvey)
Allow duplicated coordinates in tile request URLs. (#11441) (h/t ozero)
Bug fixes 🐞
Fix an issue which causes line layers to occasionally flicker. (#11848)
Fix markers in fog sometimes becoming more visible when behind terrain. (#11658)
Fix an issue where setting terrain exageration to 0 could prevent the zoom to be resolved. (#11830)
Copy stylesheet to allow toggling different styles using setStyle without overwriting some of the properties. (#11942)
v2.9.0-beta.2
No release notes provided.
v2.9.0-beta.1
No release notes provided.
v2.8.2
Bug fixes 🐞
Fix an issue where the special bundle for CSP-restricted environments was not compatible with further minification in some bundling setups. (#11790)
v2.8.1
Bug fixes 🐞
Fix the special bundle for CSP-restricted environments that broke in the 2.8.0 release. (#11739)
v2.8.0
Performance improvements 🏁
Improve memory usage by freeing memory more eagerly after loading tiles. (#11434)
Improve memory usage by reducing repeated line labels on overscaled tiles. (#11414)
Improve performance when placing many symbols on terrain. (#11466)
Bug fixes 🐞
Fix map.fitBounds(), map.fitScreenCoordinates(), and map.cameraForBounds() incorrectly matching bounds with non-zero bearing. (#11568) (h/t TannerPerrien)
Improve control button appearance by applying border-radius more consistently. (#11423) (h/t nagix)
Fix ScaleControl displaying incorrect units with some projections.(#11657)
Fix performance regression when animating image sources. (#11564)
Fix MapDataEvent.isSourceLoaded() to check if specific source has loaded. (#11393)
Fix map not wrapping after moving the map with no inertia. (#11448)
Fix popup not removing event listeners when closeOnClick:true. (#11540)
Fix camera occasionally intersecting terrain when DEM data loads while zooming. (#11461, #11578)
Increase clarity of line layers with the terrain on high DPI devices. (#11531)
Fix canvas size if more than one parent container has a transform CSS property. (#11493)
Fix error on calling map.removeImage() on animated image. (#11580)
Add globe projection. This new projection displays the map as a 3d globe and can be enabled by either passing projection: globe to the map constructor or by calling map.setProjection('globe'). All layers are supported by globe except for Custom Layers and Sky.
Extend atmospheric fog with three new style specification properties: high-color, space-color and star-intensity to allow the design of atmosphere around the globe and night skies. (#11590)
Add a new line layer paint property in the style specification: line-trim-offset that can be used to create a custom fade out with improved update performance over line-gradient. (#11570)
Add an option for providing a geolocation adapter to GeolocateControl. (#10400) (h/t behnammodi)
Add Map.Title property to locale options to localise the map aria-label. (#11549) (h/t andrewharvey)
Allow duplicated coordinates in tile request URLs. (#11441) (h/t ozero)
Bug fixes 🐞
Fix an issue which causes line layers to occasionally flicker. (#11848)
Fix markers in fog sometimes becoming more visible when behind terrain. (#11658)
Fix an issue where setting terrain exageration to 0 could prevent the zoom to be resolved. (#11830)
Copy stylesheet to allow toggling different styles using setStyle without overwriting some of the properties. (#11942)
2.8.2
Bug fixes 🐞
Fix an issue where the special bundle for CSP-restricted environments was not compatible with further minification in some bundling setups. (#11790)
2.8.1
Bug fixes 🐞
Fix the special bundle for CSP-restricted environments that broke in the 2.8.0 release. (#11739)
2.8.0
Performance improvements 🏁
Improve memory usage by freeing memory more eagerly after loading tiles. (#11434)
Improve memory usage by reducing repeated line labels on overscaled tiles. (#11414)
Improve performance when placing many symbols on terrain. (#11466)
Bug fixes 🐞
Fix map.fitBounds(), map.fitScreenCoordinates(), and map.cameraForBounds() incorrectly matching bounds with non-zero bearing. (#11568) (h/t TannerPerrien)
Improve control button appearance by applying border-radius more consistently. (#11423) (h/t nagix)
Fix ScaleControl displaying incorrect units with some projections.(#11657)
Fix performance regression when animating image sources. (#11564)
Fix MapDataEvent.isSourceLoaded() to check if specific source has loaded. (#11393)
Fix map not wrapping after moving the map with no inertia. (#11448)
Fix popup not removing event listeners when closeOnClick:true. (#11540)
Fix camera occasionally intersecting terrain when DEM data loads while zooming. (#11461, #11578)
Increase clarity of line layers with the terrain on high DPI devices. (#11531)
Fix canvas size if more than one parent container has a transform CSS property. (#11493)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mapbox-gl from 1.7.0 to 2.9.0.
Release notes
Sourced from mapbox-gl's releases.
... (truncated)
Changelog
Sourced from mapbox-gl's changelog.
... (truncated)
Commits
9fc5327
v2.9.0 (#12012)d8cfd5d
Release v2.9.0 cherry-picks (#11979)efadd30
Updates for v2.9.0-beta.2 (#11970)591b4fe
Release v2.9.0 cherry-picks (#11946)02891fc
Aidan/cherry pick marker fix v2.9.0 (#11899)3758092
Changelog v2.9.0-beta.1 (#11893)0d2bf58
Add globe to testing image on a map (#11881)c9ecd82
Add release testing page for atmosphere and globe view (#11878)ae2a34a
Add globe release test withsetData
calls and map aligned symbol (#11883)d427835
Fix clamping behavior of pointCoordinate leading to false positives in featur...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)