Skip to content

Releases: mapbox/mapbox-gl-js

v3.17.0-beta.2

19 Nov 13:42

Choose a tag to compare

v3.17.0-beta.2 Pre-release
Pre-release

Features and improvements ✨

  • Make line-emissive-strength data-driven.
  • Remove experimental flag from the extra_bounds property of raster and vector sources.
  • Various performance improvements.

Bug fixes 🐞

  • Fix features not being localized in dynamic filters when a worldview is set.
  • Correctly support filtered features in appearances.
  • Fix an issue occuring when expressions are used in appearances.

v3.17.0-beta.1

05 Nov 14:58

Choose a tag to compare

v3.17.0-beta.1 Pre-release
Pre-release

Features and improvements ✨

  • Experimental ESM support.
  • Remove experimental flag from model layer.
  • Conflate building parts together as a whole building.

Bug fixes 🐞

  • Fix line patterns not elevating properly on HD roads.
  • Sanitize attributions in AttributionControl.
  • Fix appearance optimization that resulted in wrong appearances being rendered.

v3.16.0

23 Oct 13:51

Choose a tag to compare

Features and improvements ✨

  • Introduce experimental Appearances API for managing layer styling based on feature state.
  • Add Map setLayerProperty that combines setLayoutProperty & setPaintProperty into one method for convenience.
  • Add support for node/material overrides & other improvements to model source and layer.
  • Various improvements & fixes for upcoming 3D features (indoor, procedural buildings & elevated roads).
  • Add response headers to the sourcedata event data.
  • Improve TypeScript types for style specification.

Bug fixes 🐞

  • Fix raster particle layer not rendering correctly on styles with emissive light.
  • Fix icons of different sizes rendering incorrectly in appearances.
  • Fix worldview filtering with dynamic expressions.
  • Improve accuracy of queryRenderedFeatures for model layers.
  • Fix a bug with heatmap sometimes disappearing after switching projection.
  • Fix rendering of model layer with vector source on globe projection.
  • Fix flickering of fill-extrusion buildings when using clip layers.
  • Fix inaccuracies in 3D model query intersection.
  • Fix the passing of GeolocationPosition to geolocate event listeners.
  • Fix the placement of line-aligned text with a non-default scaleFactor.

v3.16.0-beta.2

09 Oct 09:55

Choose a tag to compare

v3.16.0-beta.2 Pre-release
Pre-release

Features and improvements ✨

  • Introduce experimental Appearances API for managing layer styling based on feature state.
  • Add Map setLayerProperty that combines setLayoutProperty & setPaintProperty into one method for convenience.
  • Add support for node/material overrides & other improvements to model source and layer.
  • Various improvements & fixes for upcoming 3D features (indoor, procedural buildings & elevated roads).

Bug fixes 🐞

  • Improve accuracy of queryRenderedFeatures for model layers.
  • Fix a bug with heatmap sometimes disappearing after switching projection.
  • Fix rendering of model layer with vector source on globe projection.

v3.16.0-beta.1

24 Sep 10:49

Choose a tag to compare

v3.16.0-beta.1 Pre-release
Pre-release

Features and improvements ✨

  • Add response headers to the sourcedata event data.
  • Improve TypeScript types for style specification.

Bug fixes 🐞

  • Fix flickering of fill-extrusion buildings when using clip layers.
  • Fix inaccuracies in 3D model query intersection.
  • Fix the passing of GeolocationPosition to geolocate event listeners.
  • Fix the placement of line-aligned text with a non-default scaleFactor.

v3.15.0

10 Sep 14:56

Choose a tag to compare

3.15.0

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.
  • Slightly improve hsla expression performance.
  • Optimize applying LUT for patterns.
  • Round queryRasterValue results to 12 decimal digits to fix precision issues.
  • Improvements on typing and testing.

Bug fixes 🐞

  • Fix an issue with refreshing expired raster array tiles.
  • 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.
  • Fix an issue with MRT layers throwing an error when reloading.
  • Fix occlusion layer ordering.
  • Fix an issue where using too many data-driven properties on the symbol layer could break the map.
  • Fix gradients and interpolations with fully-transparent colors.
  • Fix model layer density reduction.
  • Fix performance regression on styles that use feature-state expressions.

v3.15.0-beta.2

25 Aug 16:47

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

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

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

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.