Skip to content

Releases: mapbox/mapbox-gl-js

v3.15.0-beta.2

25 Aug 16:47
Compare
Choose a tag to compare
v3.15.0-beta.2 Pre-release
Pre-release

3.15.0-beta.2

Features and improvements ✨

  • Slightly improve hsla expression performance.
  • Optimize applying LUT for patterns.
  • Round queryRasterValue results to 12 decimal digits to fix precision issues.

Bug fixes 🐞

  • Fix an error on GeoJSON with `"Infinity"`` and similar ids.
  • Fix GL_INVALID_VALUE console warning on Mapbox Satellite Standard and a few other styles.
  • Fix model layer positioning during globe to mercator transition.
  • Fix an issue with incorrect transparency for some icons with LUT applied.
  • Fix an issue where updating *-occlusion-opacity properties didn't have any effect.

v3.15.0-beta.1

13 Aug 14:26
Compare
Choose a tag to compare
v3.15.0-beta.1 Pre-release
Pre-release

Features and improvements ✨

  • Add queryRasterValue method for querying values in raster-array layers.
  • Add icon-image-use-theme property.
  • Add support for Mapbox vector tiles with precalculated line metrics (for line gradients).
  • Improve HD Roads loading performance.
  • Optimize applying LUT when updating images at runtime.
  • Improve TypeScript types in Style Spec validation methods.

Bug fixes 🐞

  • Fix an issue with refreshing expired raster array tiles.

v3.14.0

30 Jul 10:14
Compare
Choose a tag to compare

Breaking changes ⚠️

  • Imported styles will use the glyphs URL template from the root style instead of their own.

Features and improvements ✨

  • Add a split expression to divide a string into an array of substrings based on a specified delimiter.
  • Improve memory usage for GeoJSON sources.

Bug fixes 🐞

  • Fix an issue with querying rendered features during the globe-to-Mercator transition.
  • Fix resources cleanup when removing a map with a terrain or/and vector icons.
  • Fix an issue where a single primary image was not rendered correctly with icon-image-cross-fade.
  • Fix an edge case involving the mixing of vertical and horizontal writing modes.
  • Fix rendering of multiple raster layers from a single raster-array source.
  • Fix restoration of maps with background patterns, heatmap, image, video, or raster sources after WebGL context loss.
  • Fix memory spike when calling setData on large datasets.

v3.14.0-beta.2

23 Jul 12:14
Compare
Choose a tag to compare
v3.14.0-beta.2 Pre-release
Pre-release

Bug fixes 🐞

  • Fix rendering of multiple raster layers from a single raster-array source.
  • Fix restoration of maps with background patterns, heatmap, image, video, or raster sources after WebGL context loss.

v3.14.0-beta.1

17 Jul 09:50
Compare
Choose a tag to compare
v3.14.0-beta.1 Pre-release
Pre-release

Breaking changes ⚠️

  • Imported styles will use the glyphs URL template from the root style instead of their own.

Features and improvements ✨

  • Add a split expression to divide a string into an array of substrings based on a specified delimiter.
  • Improve memory usage for GeoJSON sources.

Bug fixes 🐞

  • Fix an issue with querying rendered features during the globe-to-Mercator transition.
  • Fix resources cleanup when removing a map with a terrain or/and vector icons.
  • Fix an issue where a single primary image was not rendered correctly with icon-image-cross-fade.
  • Fix an edge case involving the mixing of vertical and horizontal writing modes.

v3.13.0

17 Jun 13:16
Compare
Choose a tag to compare

Breaking changes ⚠️

  • interpolate expression will interpolate between non-alpha-premultiplied colors. The change might affect raster-particle-color, line-gradient, and heatmap-color.
  • rgb expression will return non-premultiplied-alpha color.

Features and improvements ✨

  • Add the ["worldview"] expression, which returns the current worldview of the map.
  • Add model-translation support for batched model layers.
  • Improve indoor level interaction.
  • Add support of gradient transforms in the fill style of vector icons.

Bug fixes 🐞

  • Fix querying and styling issues with multiple model layers referencing the same source.
  • Fix mapbox-gl-rtl-text v0.3.0 plugin not loading in certain configurations.
  • Fix icons with text-variable-anchor disappearing.
  • Fix minor distortions on vector icons in some cases.
  • Fix zooming over terrain with negative altitude values.
  • Fix interactions to not throw on mouseleave without mouseenter.
  • Fix shadow rendering issues on underground structures.
  • Fix striping artifacts when rendering shadows on some GPU configurations.
  • Fix errors when viewing a style with filtered model layers.
  • Fix parsing of color-use-theme property of 3D lights.
  • Fix feature-dependent config expressions (h/t @brncsk) #13453.
  • Fix reset of the indoor floorplan selection after moving the camera.
  • Fix excessive rerendering of the map after setStyle with the same URL of an import.
  • Fix source reloading during mercator-globe transition with terrain.
  • Fix color of semi-transparent vector icons.

Workflow 🛠️

  • Switched from CircleCI to GitHub Actions for continuous integration tests.

v3.13.0-beta.1

04 Jun 15:21
0f04044
Compare
Choose a tag to compare
v3.13.0-beta.1 Pre-release
Pre-release

Breaking changes ⚠️

  • interpolate expression will interpolate between non-alpha-premultiplied colors. The change might affect raster-particle-color, line-gradient, and heatmap-color.
  • rgb expression will return non-premultiplied-alpha color.

Features and improvements ✨

  • Add the ["worldview"] expression, which returns the current worldview of the map.
  • Add model-translation support for batched model layers.
  • Improve indoor level interaction.
  • Add support of gradient transforms in the fill style of vector icons.

Bug fixes 🐞

  • Fix icons with text-variable-anchor disappearing.
  • Fix zooming over terrain with negative altitude values.
  • Fix interactions to not throw on mouseleave without mouseenter.
  • Fix errors when viewing a style with filtered model layers.
  • Fix parsing of color-use-theme property of 3D lights.
  • Fix feature-dependent config expressions (h/t @brncsk) #13453.
  • Fix reset of the indoor floorplan selection after moving the camera.
  • Fix excessive rerendering of the map after setStyle with the same URL of an import.
  • Fix source reloading during mercator-globe transition with terrain.
  • Fix color of semi-transparent vector icons.

v3.12.0

08 May 15:09
Compare
Choose a tag to compare

Features and improvements ✨

  • Add experimental support for rendering 3D road intersections.
  • Add shadow rendering support for elevated lines.
  • Add wrapTileId property to CustomLayerInterface to control whether tile IDs are wrapped across world copies during rendering.
  • Add line-pattern-cross-fade, fill-pattern-cross-fade, and fill-extrusion-pattern-cross-fade properties for smooth transitions between pattern images.
  • Add support for extra_bounds in TileJSON for more fine-grained control over tile requests, particularly when dealing with sparse data coverage.
  • Improve performance by lazy loading 3D models.
  • Slightly improve JS bundle sizes.
  • Various TypeScript improvements.

Bug fixes 🐞

  • Fixed an issue where calling setData on symbol layers could cause flickering.
  • Expose CustomSourceInterface TypeScript type that was missing in the public interface.
  • Fix some edge cases related to 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.
  • Fix styleimagemissing event not firing in certain scenarios.
  • Fix rendering of fully stretchable vector icons.
  • Fix queryRenderedFeatures on Globe at low zoom levels.

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.