Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: mapbox/mapbox-gl-js

v3.12.0-beta.1

24 Apr 13:11
Compare
Choose a tag to compare
v3.12.0-beta.1 Pre-release
Pre-release

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 have mapbox_clip_start and mapbox_clip_end properties precomputed.

v3.11.1

24 Apr 08:42
Compare
Choose a tag to compare

Bug fixes 🐞

  • Improve icon loading performance, in particular for landmark icons.
  • Fix undefined passed in Marker options not falling back to default values.

v3.11.0

01 Apr 12:17
Compare
Choose a tag to compare

Breaking changes ⚠️

  • The at expression does not interpolate anymore. Please use at-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 the at expression.
  • Add altitude marker property to adjust elevation. (h/t @yangtanyu) #13335.
  • Add getCooperativeGestures and setCooperativeGestures map methods to control cooperative gestures logic after the map is initialized.
  • Add getGlyphsUrl and setGlyphsUrl 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

25 Mar 11:06
Compare
Choose a tag to compare
v3.11.0-beta.2 Pre-release
Pre-release

Breaking changes ⚠️

  • The at expression does not interpolate anymore. Please use at-interpolated if you want to keep the old behavior.

Features and improvements ✨

  • Add at-interpolated expression as the interpolated counterpart to the at expression.
  • Add altitude marker property to adjust elevation. (h/t @yangtanyu) #13335.
  • Add getCooperativeGestures and setCooperativeGestures map methods to control cooperative gestures logic after the map is initialized.
  • Add getGlyphsUrl and setGlyphsUrl 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

19 Mar 05:51
Compare
Choose a tag to compare
v3.11.0-beta.1 Pre-release
Pre-release

Features and improvements ✨

  • Add at-interpolated expression as the interpolated counterpart to the at expression.
  • Add altitude marker property to adjust elevation. (h/t @yangtanyu) #13335.
  • Add getCooperativeGestures and setCooperativeGestures map methods to control cooperative gestures logic after the map is initialized.
  • Add getGlyphsUrl and setGlyphsUrl 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

13 Feb 16:41
83f5361
Compare
Choose a tag to compare

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 and mouseleave 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

31 Jan 14:54
f5f4b1d
Compare
Choose a tag to compare
v3.10.0-beta.1 Pre-release
Pre-release

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.

v3.9.4

27 Jan 10:16
Compare
Choose a tag to compare
  • Fix vector icons rendering with stretch areas on high DPI devices.

v3.9.3

15 Jan 07:25
2b4680a
Compare
Choose a tag to compare
  • Fix issues when updating feature state on symbol layers.
  • Fix canvas source not rendering correctly after a canvas resize.

v3.9.2

03 Jan 10:11
Compare
Choose a tag to compare
  • Fix the display of user-rendered images.
  • Fix a broken build issue in specific bundling configurations using Vite or ESBuild.
  • Fix the console error issue that sometimes occurs during map initialization.