Releases: mapbox/mapbox-gl-js
Releases · mapbox/mapbox-gl-js
v3.12.0-beta.1
Features and improvements ✨
- Add experimental support for rendering 3D road intersections.
- Add shadow rendering support for elevated lines.
- Slightly improve JS bundle sizes.
- Various TypeScript types improvements.
Bug fixes 🐞
- Fixed an issue where calling
setData
on symbol layers could cause flickering. - Expose the
CustomSourceInterface
TypeScript type that is missing from the public interface. - Fix some edge cases related to the rendering of elevated structures.
- Relax
line-gradient
validation to work not only on GeoJSON, but also on vector tile sources if they havemapbox_clip_start
andmapbox_clip_end
properties precomputed.
v3.11.1
v3.11.0
Breaking changes ⚠️
- The
at
expression does not interpolate anymore. Please useat-interpolated
if you want to keep the old behavior.
Features and improvements ✨
- Add landmark icons. Landmark icons are stylized, uniquely designed POI icons that indicate the most popular and recognizable landmarks on the map. At the time of this release, we have landmarks for 5 cities: London, Berlin, New York City, San Francisco, and Tokyo.
- Add
at-interpolated
expression as the interpolated counterpart to theat
expression. - Add
altitude
marker property to adjust elevation. (h/t @yangtanyu) #13335. - Add
getCooperativeGestures
andsetCooperativeGestures
map methods to control cooperative gestures logic after the map is initialized. - Add
getGlyphsUrl
andsetGlyphsUrl
map methods to manage the glyphs endpoint URL. - Add
pitchRotateKey
map option to override the modifier key for rotate and pitch handlers. - Add filtering support for model layers.
- Add support for vector icons color parameters with alpha values.
Bug fixes 🐞
- Hide labels with unreadable angles.
- Fix rendering of vector image in text on HiDPI screens.
- Ensure Katakana and CJK symbols render correctly in vertical writing mode.
- Fix popup position update on map move. (h/t @ThugRaven) #13412
- Fix rendering of self-intersecting elevated lines.
- Prevent line pattern from turning black at certain zoom levels when shadows are enabled.
- Fix missing triangles in variable-width lines.
- Improve Style-Spec validator types.
- Fix reloading of tiles in style imports.
- Fix issue where updated images were never cleared after patching them.
- Fix rendering performance regression related to use-theme.
v3.11.0-beta.2
Breaking changes ⚠️
- The
at
expression does not interpolate anymore. Please useat-interpolated
if you want to keep the old behavior.
Features and improvements ✨
- Add
at-interpolated
expression as the interpolated counterpart to theat
expression. - Add
altitude
marker property to adjust elevation. (h/t @yangtanyu) #13335. - Add
getCooperativeGestures
andsetCooperativeGestures
map methods to control cooperative gestures logic after the map is initialized. - Add
getGlyphsUrl
andsetGlyphsUrl
map methods to manage the glyphs endpoint URL. - Add
pitchRotateKey
map option to override the modifier key for rotate and pitch handlers. - Add filtering support for model layers.
Bug fixes 🐞
- Hide labels with unreadable angles.
- Fix rendering of vector image in text on HiDPI screens.
- Ensure Katakana and CJK symbols render correctly in vertical writing mode.
- Fix popup position update on map move. (h/t @ThugRaven) #13412
- Fix rendering of self-intersecting elevated lines.
- Prevent line pattern from turning black at certain zoom levels when shadows are enabled.
v3.11.0-beta.1
Features and improvements ✨
- Add
at-interpolated
expression as the interpolated counterpart to theat
expression. - Add
altitude
marker property to adjust elevation. (h/t @yangtanyu) #13335. - Add
getCooperativeGestures
andsetCooperativeGestures
map methods to control cooperative gestures logic after the map is initialized. - Add
getGlyphsUrl
andsetGlyphsUrl
map methods to manage the glyphs endpoint URL. - Add
pitchRotateKey
map option to override the modifier key for rotate and pitch handlers. - Add filtering support for model layers.
Bug fixes 🐞
- Hide labels with unreadable angles.
- Fix rendering of vector image in text on HiDPI screens.
- Ensure Katakana and CJK symbols render correctly in vertical writing mode.
- Fix popup position update on map move. (h/t @ThugRaven) #13412
- Fix rendering of self-intersecting elevated lines.
- Prevent line pattern from turning black at certain zoom levels when shadows are enabled.
v3.10.0
Features and improvements ✨
- Add support for data-driven
*-use-theme
properties. - Improve rendering of complex SVG clip paths for vector icons.
Bug fixes 🐞
- Fix issue where the close popup button was hidden from screen readers.
- Fix updating of schema config values of imported styles.
- Fix line placement symbol disappearing issue during transition from globe.
- Fix
queryRenderedFeatures
not working on duplicated model layers. - Fix in-place update for SDF image.
- Fix LUT not being applied to in-place updated image.
- Fix various issues with using
mouseenter
andmouseleave
with Interactions API. - Fix error with interactible map elements during interaction with a map that wasn't fully loaded.
- Fix rendering of elevated and non-elevated lines on the same layer.
- Fix pixel ratio handling for patterns with vector icons.
- Fix positioning of vector icons with modified
icon-size
. - Fix a blank map issue after WebGL context loss.
- Fix loss of precision for close to camera models.
- Fix transparent models not being culled when terrain is enabled.
v3.10.0-beta.1
Features and improvements ✨
- Add support for data-driven
*-use-theme
properties. - Improve rendering of complex SVG clip paths for vector icons.
Bug fixes 🐞
- Fix issue where the close popup button was hidden from screen readers.
- Fix
queryRenderedFeatures
not working on duplicated model layers. - Fix rendering of elevated and non-elevated lines on the same layer.
- Fix a blank map issue after WebGL context loss.