Releases: mapbox/mapbox-gl-js
Releases · mapbox/mapbox-gl-js
style-spec@13.27.0-beta.1
Update changelog (#12324) * update changelogs and package versions Co-authored-by: Aidan H <aidan.hendrickson@mapbox.com>
v2.10.0
Features ✨ and improvements 🏁
- Add new marker styling option
rotationAlignment: 'horizon'
allowing marker rotation to match the curvature of the horizon in globe view (#11894) - Improve panning precision on Globe View and relax constraints on lower zoom levels (#12114)
- Add unit option to number-format expression (#11839) (h/t varna)
- Add screen reader alert for cooperative gestures warning message. (#12058)
- Improve rendering performance on globe view (#12050)
- Improve tile loading performance on low zoom levels (#12061)
- Improve globe-mercator transition and map load performance with globe projection (#12039)
Bug fixes 🐞
- Fix a bug where
id
expression didn't correctly handle a value of 0 (#12000) - Fix precision errors in depth pack/unpack (#12005)
- Fix
cooperativeGestures
preventing panning on mobile while in fullscreen. (#12058) - Fix misplaced raster tiles after toggling
setStyle
with a globe projection (#12049) - Fix exception on creating map in an iframe with sandbox attribute. (#12101)
- Fix "improve map" link in the attribution to include location even if map hash is disabled (#12122)
- Fix Chrome console warnings about ignored event cancel on touch interactions (#12121) (h/t jschaf)
style-spec@13.26.0
v2.10.0-beta.1
Set the release version to 2.10.0-beta.1 (#12162)
v2.9.2
v2.9.1
v2.9.0
Features ✨
- Add
globe
projection. This new projection displays the map as a 3d globe and can be enabled by either passingprojection: globe
to the map constructor or by callingmap.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
andstar-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 overline-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 maparia-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)
style-spec@13.25.0
Features ✨
- Extend atmospheric
fog
with three new style specification properties:high-color
,space-color
andstar-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 overline-gradient
. (#11570)
🐞 Bug fixes
- Add
source
field requirement to terrain exaggeration in the style specification. (#11664)
v2.9.0-beta.2
Updates for v2.9.0-beta.2 (#11970) * beta.2 * Reload tiles after TileJSON is loaded in VectorTileSource#setSourceProperty (#11963) * Reload tiles after TileJSON is loaded in setSourceProperty * add more i18n tests * drop the language validation * mark i18n API as private * update s3 link to lower res video (#11965) Co-authored-by: Stepan Kuzmin <stepan.kuzmin@mapbox.com> Co-authored-by: Anna Peery <42715836+avpeery@users.noreply.github.com>
style-spec@13.25.0-beta.2
Updates for v2.9.0-beta.2 (#11970) * beta.2 * Reload tiles after TileJSON is loaded in VectorTileSource#setSourceProperty (#11963) * Reload tiles after TileJSON is loaded in setSourceProperty * add more i18n tests * drop the language validation * mark i18n API as private * update s3 link to lower res video (#11965) Co-authored-by: Stepan Kuzmin <stepan.kuzmin@mapbox.com> Co-authored-by: Anna Peery <42715836+avpeery@users.noreply.github.com>