Releases: mapbox/mapbox-gl-js
Releases · mapbox/mapbox-gl-js
v3.15.0-beta.2
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
Features and improvements ✨
- Add
queryRasterValue
method for querying values inraster-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
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 singleraster-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
Bug fixes 🐞
- Fix rendering of multiple
raster
layers from a singleraster-array
source. - Fix restoration of maps with background patterns, heatmap, image, video, or raster sources after WebGL context loss.
v3.14.0-beta.1
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
Breaking changes ⚠️
interpolate
expression will interpolate between non-alpha-premultiplied colors. The change might affectraster-particle-color
,line-gradient
, andheatmap-color
.rgb
expression will return non-premultiplied-alpha color.
Features and improvements ✨
- Add the
["worldview"]
expression, which returns the currentworldview
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
withoutmouseenter
. - 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
Breaking changes ⚠️
interpolate
expression will interpolate between non-alpha-premultiplied colors. The change might affectraster-particle-color
,line-gradient
, andheatmap-color
.rgb
expression will return non-premultiplied-alpha color.
Features and improvements ✨
- Add the
["worldview"]
expression, which returns the currentworldview
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
withoutmouseenter
. - 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
Features and improvements ✨
- Add experimental support for rendering 3D road intersections.
- Add shadow rendering support for elevated lines.
- Add
wrapTileId
property toCustomLayerInterface
to control whether tile IDs are wrapped across world copies during rendering. - Add
line-pattern-cross-fade
,fill-pattern-cross-fade
, andfill-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 havemapbox_clip_start
andmapbox_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
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
Bug fixes 🐞
- Improve icon loading performance, in particular for landmark icons.
- Fix
undefined
passed inMarker
options not falling back to default values.