Zum Inhalt springen

Mapbox Gl Js Updates & Release Notes

Einträge
47
Quellen
1
Zuletzt aktualisiert

Folge Mapbox Gl Js, um die Release Notes in deinen Feed zu holen.

Mapbox Gl Js von Mapbox

v3.37.0-rc.1

Features and improvements ✨

  • Improve initial load performance for maps using Mapbox Standard, streets-v12, streets-v11, light-v11 or dark-v11 style by precompiling the shaders.
  • Compile fewer shader variants when shadows are disabled and for symbols on the globe.
  • Add Map#setTransition and Map#getTransition to change the style transition at runtime, and Map#setFadeDuration and Map#getFadeDuration to change the label fade duration at runtime.
  • Add the experimental @mapbox/mapbox-gl-webmcp plugin for exposing a live Map to browser agents through WebMCP.
  • Optimize rain fragment shader.

Bug fixes 🐞

  • Fix UMD bundle compatibility with bundlers lowering spread or async syntax (e.g., Angular's esbuild).
  • Fix setData and updateData calls made while a GeoJSON source is still loading data being applied as the wrong kind of update, which could discard or wrongly merge features.
  • Fix GeoJSON sources occasionally showing outdated features after setData or updateData is called several times in quick succession.
  • Fix light/camera/zoom-dependent config re-evaluation.
  • Fix terrain and hillshade tiles occasionally rendering flat when a raster source with tiles of the same size is also on the map.
  • Fix icon sizes, symbol appearances, SDF icon halos and global placement with scale factor being ignored or applied twice.
  • Fix feature state changes on line layers draped over terrain not being rendered until the camera moves. …

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

v3.36.0

Features and improvements ✨

  • Apply fog to symbols with icon-pitch-alignment or text-pitch-alignment set to map.
  • Add experimental Map#startPerformanceStatisticsCollection and Map#stopPerformanceStatisticsCollection to collect render time, render pass and layer timings, and draw call counters.
  • Remove unreachable shader code from the bundle.

Bug fixes 🐞

  • Fix clean-up of telemetry classes.
  • Fix map-aligned icons (such as road and one-way arrows) shimmering at high pitch.
  • Fix the docs and the warning for Map#getFreeCameraOptions and Map#setFreeCameraOptions, which said that free camera does not support the globe projection.
  • Fix raster array sampling on Android.
  • Fix HD road rendering in vector tiles with an extent other than 8192.
  • Fix a line-dasharray of [] to consistently draw a solid line.
  • Fix order-dependent symbol and fill-extrusion border rendering.
  • Fix a performance regression where fill layers were re-uploaded every frame, which was especially slow with many feature states.
  • Fix fill extrusion ground effect vertex & fragment shaders attribute mismatch.
  • Fix scale factor being applied twice to symbols with zoom- and data-dependent text-size or icon-size between zoom stops.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

v3.36.0-rc.1

Features and improvements ✨

  • Apply fog to symbols with icon-pitch-alignment or text-pitch-alignment set to map.
  • Add experimental Map#startPerformanceStatisticsCollection and Map#stopPerformanceStatisticsCollection to collect render time, render pass and layer timings, and draw call counters.
  • Remove unreachable shader code from the bundle.

Bug fixes 🐞

  • Fix clean-up of telemetry classes.
  • Fix map-aligned icons (such as road and one-way arrows) shimmering at high pitch.
  • Fix the docs and the warning for Map#getFreeCameraOptions and Map#setFreeCameraOptions, which said that free camera does not support the globe projection.
  • Fix raster array sampling on Android.
  • Fix HD road rendering in vector tiles with an extent other than 8192.
  • Fix a line-dasharray of [] to consistently draw a solid line.
  • Fix order-dependent symbol and fill-extrusion border rendering.
  • Fix a performance regression where fill layers were re-uploaded every frame, which was especially slow with many feature states.
  • Fix fill extrusion ground effect vertex & fragment shaders attribute mismatch.
  • Fix scale factor being applied twice to symbols with zoom- and data-dependent text-size or icon-size between zoom stops.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

v3.35.0

Features and improvements ✨

  • Improve map load performance on lower zooms via faster polygon triangulation.
  • Add setMinzoom and setMaxzoom methods to vector and raster tile sources, which change the zoom range of a source after it is added.
  • Apply fog to symbols with icon-pitch-alignment or text-pitch-alignment set to map.
  • Introduce cross-tile fade state support for global placement.
  • Release tiles after fade completes for sources from imported styles.

Bug fixes 🐞

  • Fix transformRequest headers missing from requests for glTF buffers and textures.
  • Fix Map#setGlyphsUrl not changing the glyphs of labels that are already loaded.
  • Fix the setters of raster-array and model sources that throw an error before a layer uses the source.
  • Fix zoom-step line-dasharray disappearing on some tiles.
  • Fix zero-length cap in SVG not being drawn in various browsers.
  • Fix thin lines fading and flickering at high pitch.
  • Revert fix line geometry: clamp fake-round join anchor on short segments.
  • Fix a thin unlit line in the fill-extrusion flood light at very sharp polygon corners.
  • Fix visibility of the logo control based on imported source.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

v3.35.0-rc.1

  • Improve map load performance on lower zooms via faster polygon triangulation.
  • Fix zero-length cap in SVG not drawn in various browsers.
  • Fix transformRequest headers missing from requests for glTF buffers and textures.
  • Fix Map#setGlyphsUrl not changing the glyphs of labels that are already loaded.
  • Revert fix line geometry: clamp fake-round join anchor on short segments.
  • Fix thin lines fading and flickering at high pitch.
  • Fix visibility of the logo control based on imported source.
  • Fix a thin unlit line in the fill-extrusion flood light at very sharp polygon corners.
  • Introduce cross-tile fade state support for global placement.
  • Add setMinzoom and setMaxzoom methods to vector and raster tile sources, which change the zoom range of a source after it is added.
  • Fix the setters of raster-array and model sources that throw an error before a layer uses the source.
  • Release tiles after fade completes for sources from imported styles.
  • Fix zoom-step line-dasharray disappearing on some tiles.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

v3.34.1

Features and improvements ✨

  • Improve performance on map views with CJK glyphs by moving CJK rasterization offscreen.
  • Improve tile load performance via optimization of style property values recalculation.
  • Improve rendering performance via per-frame main thread work optimizations.
  • Add support of *-ignore-placement and *-allow-overlap in global placement.
  • Add raster-mask and raster-mask-mode paint properties so a raster layer can be clipped to, or excluded from, the geometry of a fill layer

Bug fixes 🐞

  • Fix coverage stencil marks including polygons for other road classes, which hid roads that should stay visible.
  • Fix imported styles silently rendering nothing when the import fires a non-fatal error while loading.
  • Fix raster tiles occasionally showing the image of a different tile after zooming or panning on a slow network.
  • Fix building layer filters that use distance, within or worldview dropping buildings.
  • Fix a sudden camera jump at the end of long flyTo camera animations.
  • Fix 0 fadeDuration symbol placement offset.
  • Fix projection documentation incorrectly stating that custom layers are not supported on globe.
  • Fix per-feature symbol/line paint value update based on light changes.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

v3.34.0-rc.1

Features and improvements ✨

  • Improve performance on map views with CJK glyphs by moving CJK rasterization offscreen.
  • Improve tile load performance via optimization of style property values recalculation.
  • Improve rendering performance via per-frame main thread work optimizations.
  • Add support of *-ignore-placement and *-allow-overlap in global placement.

Bug fixes 🐞

  • Fix coverage stencil marks including polygons for other road classes, which hid roads that should stay visible.
  • Fix imported styles silently rendering nothing when the import fires a non-fatal error while loading.
  • Fix raster tiles occasionally showing the image of a different tile after zooming or panning on a slow network.
  • Fix building layer filters that use distance, within or worldview dropping buildings.
  • Fix a sudden camera jump at the end of long flyTo camera animations.
  • Fix 0 fadeDuration symbol placement offset.
  • Fix projection documentation incorrectly stating that custom layers are not supported on globe.
  • Fix per-feature symbol/line paint value update based on light changes.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS v3.33.0

Version 3.33.0 unterstützt Rechts-nach-links-Texte ohne Plugin, verbessert Leistung und behebt mehrere Fehler wie Performance-Regressionen bei datengesteuerten Linien-Layern und Transparenz-Probleme bei Gebäude-Layern.

Breaking changes ⚠️

  • Right-to-left text (such as Arabic and Hebrew) is now supported out of the box, loading a small WebAssembly module the first time it appears on the map. setRTLTextPlugin, getRTLTextPluginStatus and the PluginStatus type are removed.
  • The base size of icons in the text-field property is now calculated at the tile zoom level with the largest text size. As a result, the icons can be smaller when the text size depends on the zoom level.

Features and improvements ✨

  • Improve memory use & map load time, especially for 3D layers.
  • Improve line rendering performance by using a uniform instead of a shader permutation for line-dasharray.
  • Add support for offsetting a control from its corner via map.addControl(control, {position, offset: {x, y}}).
  • Improve 3D Lanes map load performance.
  • Avoid placing parent-tile symbols when using the global placement.
  • Extend global placement debug info.

Bug fixes 🐞

  • Fix a severe performance regression when updating data-driven line layers with setPaintProperty.
  • Fix a rendering issue when drawing thousands of data-driven lines and symbols.
  • Fix transparent building and fill-extrusion layers blending the same pixel twice where they cover the same buildings, making the overlap look more opaque than either layer's opacity asks for.
  • Fix an issue with GeoJSON geometries past longitude -+360 or latitude +-85 rendering incorrectly. …

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.33.0-rc.1

Mapbox GL JS 3.33.0-rc.1 unterstützt Rechts-nach-links-Text (z. B. Arabisch, Hebräisch) ohne Plugin und entfernt dafür setRTLTextPlugin, getRTLTextPluginStatus und den Typ PluginStatus, berechnet die Basisgröße von Icons in text-field neu, verbessert Speichernutzung, Ladezeit und Linien-Rendering, ergänzt einen Offset für Controls via map.addControl und behebt mehrere Performance- und Darstellungsfehler.

Breaking changes ⚠️

  • Right-to-left text (such as Arabic and Hebrew) is now supported out of the box, loading a small WebAssembly module the first time it appears on the map. setRTLTextPlugin, getRTLTextPluginStatus and the PluginStatus type are removed.
  • The base size of icons in the text-field property is now calculated at the tile zoom level with the largest text size. As a result, the icons can be smaller when the text size depends on the zoom level.

Features and improvements ✨

  • Improve memory use & map load time, especially for 3D layers.
  • Improve line rendering performance by using a uniform instead of a shader permutation for line-dasharray.
  • Add support for offsetting a control from its corner via map.addControl(control, {position, offset: {x, y}}).
  • Improve 3D Lanes map load performance.
  • Avoid placing parent-tile symbols when using the global placement.
  • Extend global placement debug info.

Bug fixes 🐞

  • Fix a severe performance regression when updating data-driven line layers with setPaintProperty.
  • Fix a rendering issue when drawing thousands of data-driven lines and symbols.
  • Fix transparent building and fill-extrusion layers blending the same pixel twice where they cover the same buildings, making the overlap look more opaque than either layer's opacity asks for.
  • Fix an issue with GeoJSON geometries past longitude -+360 or latitude +-85 rendering incorrectly. …

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.32.0

Mapbox GL JS 3.32.0 verkürzt die Ladezeit durch Preloading und Lazy-Parsing von Icons, erweitert die Global Placement um Globe-zu-Mercator-Übergang, Symbol-Fading und Debug-Visualisierung, übergibt CustomLayerRenderParameters an CustomLayerInterface#render/#prerender und behebt mehrere Fehler bei transformRequest, within-Filtern und raster-array.

Features and improvements ✨

  • Slightly improve map load time via more aggressive chunk preloading.
  • Improve style parsing performance.
  • Preload Meshopt decoder earlier to improve 3D styles load time.
  • Improve map load time by requesting the icon set earlier and lazy parsing icons on-demand.
  • Add support for the globe to mercator transition when using the global placement.
  • Add support for symbol fading when using the global placement.
  • Add debug visualization support when using the global placement.
  • CustomLayerInterface#render/#prerender now receive a CustomLayerRenderParameters object as an 8th argument, exposing projectionMatrix (camera→clip), viewMatrix (world→camera) pair, plus the globe horizon globeClippingPlane and the globe center's screen position globeCenterInScreenPixels.

Bug fixes 🐞

  • Fix raster-array chunk loading when unused.
  • Fix transformRequest headers and credentials being dropped from PMTiles requests.
  • Fix transformRequest headers/credentials being dropped when loading GL model (GLTF) resources.
  • Fix features rendering at the wrong position when a layer uses a within filter and the map uses a projection other than Mercator or globe.
  • Fix global placement throwing an error when placing symbols with no text.
  • Fix setting padding as a sideeffect in a preloadOnly animation.
  • Respect extra_bounds on all TileJSON source types. …

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.32.0-rc.1

Mapbox GL JS 3.32.0-rc.1 enthält schnellere Ladezeiten, erweiterte Global-Placement-Funktionen, CustomLayerRenderParameters für Custom Layers sowie Fehlerbehebungen bei transformRequest, within-Filtern und padding in preloadOnly-Animationen.

Features and improvements ✨

  • Slightly improve map load time via more aggressive chunk preloading.
  • Improve style parsing performance.
  • Preload Meshopt decoder earlier to improve 3D styles load time.
  • Improve map load time by requesting the icon set earlier and lazy parsing icons on-demand.
  • Add support for the globe to mercator transition when using the global placement.
  • Add support for symbol fading when using the global placement.
  • Add debug visualization support when using the global placement.
  • CustomLayerInterface#render/#prerender now receive a CustomLayerRenderParameters object as an 8th argument, exposing projectionMatrix (camera→clip), viewMatrix (world→camera) pair, plus the globe horizon globeClippingPlane and the globe center's screen position globeCenterInScreenPixels.

Bug fixes 🐞

  • Fix raster-array chunk loading when unused.
  • Fix transformRequest headers and credentials being dropped from PMTiles requests.
  • Fix transformRequest headers/credentials being dropped when loading GL model (GLTF) resources.
  • Fix features rendering at the wrong position when a layer uses a within filter and the map uses a projection other than Mercator or globe.
  • Fix global placement throwing an error when placing symbols with no text.
  • Fix setting padding as a sideeffect in a preloadOnly animation.

Originalquelle(öffnet in neuem Tab)Problem melden