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

Mapbox GL JS 3.31.0

Mapbox GL JS 3.31.0 reduziert den Speicherbedarf für GeoJSON und Landmark-Modelle deutlich, entfernt das Experimental-Flag von raster-allow-draping, unterstützt emissive MRT in Custom Layers und behebt einen Fehler bei removeSource unter Globe-Projektion.

Features and improvements ✨

  • Significantly improve GeoJSON memory footprint.
  • Reduce landmark model memory usage.
  • Remove the experimental flag from raster-allow-draping.
  • Add support for emissive MRT in custom layers.

Bug fixes 🐞

  • Fix removeSource throwing under globe projection. (h/t @mhayk)

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.31.0-rc.1

Mapbox GL JS 3.31.0-rc.1 reduziert den Speicherbedarf für GeoJSON und Landmark-Modelle, entfernt das Experimental-Flag von raster-allow-draping, unterstützt emissive MRT in Custom Layers und behebt einen removeSource-Fehler unter Globe-Projektion.

Features and improvements ✨

  • Significantly improve GeoJSON memory footprint.
  • Reduce landmark model memory usage.
  • Remove the experimental flag from raster-allow-draping.
  • Add support for emissive MRT in custom layers.

Bug fixes 🐞

  • Fix removeSource throwing under globe projection. (h/t @mhayk)

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.30.0

Mapbox GL JS 3.30.0 macht Pitch- und Rotationszustand voneinander unabhängig (Breaking Change), aktualisiert auf Supercluster v9, führt AnimationFrameProvider ein, erhöht das Limit auf 64 Quellen pro Style und behebt mehrere Rendering- und Kontextverlust-Fehler.

Breaking changes ⚠️

  • Make pitch and rotation states independent. Previously, disabling rotation also disabled pitch. Now, pitch can be enabled independently of rotation.

Features and improvements ✨

  • Extract the terrain from the core ESM module.
  • Reduce shader size by removing unused code paths.
  • Upgrade Supercluster to v9 (optimize clustering memory footprint).
  • Add support for client-side overzooming for raster-array sources.
  • Add AnimationFrameProvider (MapOptions.animationFrameProvider) to support driving the render loop from an external library.
  • Enable landmark model LOD mesh download when the server provides such data.
  • Raise the maximum number of sources in a style to 64.

Bug fixes 🐞

  • Fix dark line artifacts on non-standard procedural building geometry.
  • Fix ESM terrain module loading for elevated-lines requiring terrain.
  • Fix validation of style light transition properties.
  • Fix symbol layer related errors after GL context loss.
  • Skip rings with zero area on fill-extrusions.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.30.0-rc.1

Mapbox GL JS 3.30.0-rc.1 macht Pitch und Rotation unabhängig voneinander (Breaking Change), bringt Supercluster v9, AnimationFrameProvider, bis zu 64 Quellen pro Style sowie mehrere Fehlerbehebungen.

Breaking changes ⚠️

  • Make pitch and rotation states independent. Previously, disabling rotation also disabled pitch. Now, pitch can be enabled independently of rotation.

Features and improvements ✨

  • Extract the terrain from the core ESM module.
  • Reduce shader size by removing unused code paths.
  • Upgrade Supercluster to v9 (optimize clustering memory footprint).
  • Add support for client-side overzooming for raster-array sources.
  • Add AnimationFrameProvider (MapOptions.animationFrameProvider) to support driving the render loop from an external library.
  • Enable landmark model LOD mesh download when the server provides such data.
  • Raise the maximum number of sources in a style to 64.

Bug fixes 🐞

  • Fix dark line artifacts on non-standard procedural building geometry.
  • Fix ESM terrain module loading for elevated-lines requiring terrain.
  • Fix validation of style light transition properties.
  • Fix symbol layer related errors after GL context loss.
  • Skip rings with zero area on fill-extrusions.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.29.0

Mapbox GL JS 3.29.0 entfernt die undokumentierte addSourceType-API (Breaking Change), führt raster-color-scale und raster-allow-draping ein, erweitert die Ausdrücke distance und config, ergänzt APIs zur feineren Steuerung der Interaktions-Handler und behebt mehrere Rendering-Fehler.

Breaking changes ⚠️

  • Remove legacy undocumented Map addSourceType API which was superceded by CustomSourceInterface and experimental TileProvider API.

Features and improvements ✨

  • Add new raster-color-scale property, which can be set to "log" to improve color ramp precision when visualizing long-tailed raster datasets.
  • Add new raster-allow-draping property that can be set to false to disable raster layer draping over globe/terrain.
  • Move symbol-z-offset property out of experimental.
  • Extend distance expression to accept an expression as a second argument.
  • Extend config expression to support object literals as values.
  • Improve dashed line rendering in pitched views.
  • Added APIs for more granular control of interaction handlers:
    • map.keyboard: disablePitch, enablePitch, isPitchEnabled, disableBearing, enableBearing, isBearingEnabled, isEnabled
    • map.dragRotate: disableRotation, enableRotation, isRotationEnabled
    • map.touchZoomRotate: isRotationEnabled, isTapDragZoomEnabled
    • For all three, isEnabled is changed from AND to OR semantics

Bug fixes 🐞

  • Fix rare line artifacts on sharp corners with short segments and non-bevel joins.
  • Fix ambient occlusion to not render for elevated (non-zero-base) extrusions.
  • Fix Map resetFeatureStates not working properly in some scoped styles.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.29.0-rc.1

Mapbox GL JS 3.29.0-rc.1 entfernt die undokumentierte addSourceType-API (Breaking Change), ergänzt raster-color-scale, raster-allow-draping und neue Interaktions-Handler-APIs und behebt mehrere Rendering-Fehler.

Breaking changes ⚠️

  • Remove legacy undocumented Map addSourceType API which was superceded by CustomSourceInterface.

Features and improvements ✨

  • Add new raster-color-scale property, which can be set to "log" to improve color ramp precision when visualizing long-tailed raster datasets.
  • Add new raster-allow-draping property that can be set to false to disable raster layer draping over globe/terrain.
  • Move symbol-z-offset property out of experimental.
  • Extend distance expression to accept an expression as a second argument.
  • Extend config expression to support object literals as values.
  • Improve dashed line rendering in pitched views.
  • Added APIs for more granular control of interaction handlers:
    • map.keyboard: disablePitch, enablePitch, isPitchEnabled, disableBearing, enableBearing, isBearingEnabled, isEnabled
    • map.dragRotate: disableRotation, enableRotation, isRotationEnabled
    • map.touchZoomRotate: isRotationEnabled, isTapDragZoomEnabled
    • For all three, isEnabled is changed from AND to OR semantics

Bug fixes 🐞

  • Fix rare line artifacts on sharp corners with short segments and non-bevel joins.
  • Fix ambient occlusion to not render for elevated (non-zero-base) extrusions.
  • Fix Map resetFeatureStates not working properly in some scoped styles.

Dev workflow improvements

  • Increase strict TypeScript coverage and added tooling to keep improving it.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.28.1: iconsets-Icons im ESM-Bundle korrigiert

Mapbox GL JS 3.28.1 behebt ein Problem, bei dem iconsets-Icons mit dem ESM-Bundle nicht korrekt dargestellt wurden.

Bug fixes 🐞

  • Fix iconsets icons rendering with ESM bundle.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.28.0: Field-of-View-Methoden, Linienrand und Breaking Change

Mapbox GL JS 3.28.0 deaktiviert text-variable-anchor, wenn Appearances vorhanden sind (Breaking Change), führt experimentelle Field-of-View-Methoden, line-border-width, line-border-color, map.resetFeatureStates() und map.getSchema()/map.setSchema() ein, verkleinert das ESM-Bundle und behebt mehrere Fehler.

Breaking changes ⚠️

  • Disable text-variable-anchor when appearances are present.

Features and improvements ✨

  • Introduce experimental map.getVerticalFieldOfView(), map.setVerticalFieldOfView(), and read-only map.getHorizontalFieldOfView() and an animatable fov camera option.
  • Expose line-border-width and line-border-color as public paint properties.
  • Introduce experimental line-border-gradient property for rendering gradient borders on lines.
  • Add support for Meshopt v1 compressed models.
  • Support string color values for the model-color in a model source.
  • Add map.resetFeatureStates() to clear all feature states for a featureset or layer.
  • Expose map.getSchema()/map.setSchema() for managing the imported style's schema.
  • Extract development and debug code from the ESM bundle into a separate module.
  • Extract more model code from the ESM core bundle.
  • Extract raster-array layer as a separate ESM module.
  • Reduce the bundle size by restructuring style, program, symbol, and expression code.
  • Remove experimental flag from layer appearances.
  • Improve symbol layer performance.
  • Reduce redundant repaints and checks during initial load.

Bug fixes 🐞

  • Fix double rotation of the FF5C character in vertical text rendering.
  • Preserve live gesture when camera setter is called from inside a drag/move handler.
  • Stop overwriting the pointerEvents of markers set by the user. …

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.28.0-rc.1: Neue Methoden, kleineres ESM-Bundle, Breaking Change

Mapbox GL JS 3.28.0-rc.1 deaktiviert text-variable-anchor bei vorhandenen Appearances (Breaking Change), ergänzt experimentelle Field-of-View-Methoden, öffentliche Linienrand-Eigenschaften, map.resetFeatureStates() und Schema-Methoden, verkleinert das ESM-Bundle und behebt mehrere Fehler.

Breaking changes ⚠️

  • Disable text-variable-anchor when appearances are present.

Features and improvements ✨

  • Introduce experimental map.getVerticalFieldOfView(), map.setVerticalFieldOfView(), and read-only map.getHorizontalFieldOfView() and an animatable fov camera option.
  • Expose line-border-width and line-border-color as public paint properties.
  • Introduce experimental line-border-gradient property for rendering gradient borders on lines.
  • Add support for Meshopt v1 compressed models.
  • Support string color values for the model-color in a model source.
  • Add map.resetFeatureStates() to clear all feature states for a featureset or layer.
  • Expose map.getSchema()/map.setSchema() for managing the imported style's schema.
  • Extract development and debug code from the ESM bundle into a separate module.
  • Extract more model code from the ESM core bundle.
  • Extract raster-array layer as a separate ESM module.
  • Reduce the bundle size by restructuring style, program, symbol, and expression code.
  • Remove experimental flag from layer appearances.
  • Improve symbol layer performance.
  • Reduce redundant repaints and checks during initial load.

Bug fixes 🐞

  • Fix double rotation of the FF5C character in vertical text rendering.
  • Preserve live gesture when camera setter is called from inside a drag/move handler.
  • Stop overwriting the pointerEvents of markers set by the user. …

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.27.0: Wechsel auf TypeScript 7 und viele Fehlerbehebungen

Mapbox GL JS 3.27.0 wechselt auf TypeScript 7, ergänzt Cross-Source-HD-Roads-Elevation für Symbole, verbessert die Zeichenrotation bei vertikalem CJK-Text und behebt zahlreiche Fehler, darunter bei number-format, Zugriffstoken in Multi-Map-Umgebungen und UMD-Imports.

Features and improvements ✨

  • Upgrade to Typescript 7
  • Add cross-source HD roads elevation for symbols
  • Improve character rotation logic for some CJK characters in vertical text rendering mode

Bug fixes 🐞

  • Fix raster-array out of bounds assertion error for non-mecator projections
  • Fix error when object-property strings were used in expressions
  • Fix wrong access token used on multi-map environments
  • Fix number-format dropping min/max-fraction-digits when they were 0
  • Fix line-aligned label placement during globe-mercator transition
  • Fix crash when using style expressions with prototype-derived keys
  • Fix atlas cache returning another scope images
  • Fix Style#{get,set,remove}FeatureState with {target: {layerId}} so imported-layer targets resolve against their own fragment's sources instead of the root style's
  • Fix missing building along tile borders
  • Fix dynamic imports in UMD
  • Fix import.meta crash under modern bundlers
  • Fix setPaintProperty on symbol properties with a transition duration of 0

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.27.0-rc.1: TypeScript 7 und HD-Roads-Elevation für Symbole

Mapbox GL JS 3.27.0-rc.1 wechselt auf TypeScript 7, ergänzt Cross-Source-HD-Roads-Elevation für Symbole, verbessert die Rotation von CJK-Zeichen im vertikalen Text und behebt zahlreiche Fehler.

Features and improvements ✨

  • Upgrade to Typescript 7
  • Add cross-source HD roads elevation for symbols
  • Improve character rotation logic for some CJK characters in vertical text rendering mode

Bug fixes 🐞

  • Fix raster-array out of bounds assertion error for non-mecator projections
  • Fix error when object-property strings were used in expressions
  • Fix wrong access token used on multi-map environments
  • Fix number-format dropping min/max-fraction-digits when they were 0
  • Fix line-aligned label placement during globe-mercator transition
  • Fix crash when using style expressions with prototype-derived keys
  • Fix atlas cache returning another scope images
  • Fix Style#{get,set,remove}FeatureState with {target: {layerId}} so imported-layer targets resolve against their own fragment's sources instead of the root style's
  • Fix missing building along tile borders
  • Fix dynamic imports in UMD

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.26.0: Eigenständige TypeScript-Deklarationen, Breaking Change

Mapbox GL JS 3.26.0 entfernt die Flags transition und interpolated von camera-projection (Breaking Change), macht die TypeScript-Deklarationen eigenständig, verbessert Terrain-Raycasting und Landmark-LOD-Wechsel und behebt mehrere Rendering-Fehler.

Breaking changes ⚠️

  • Remove transition and interpolated flags from the camera-projection style property — enum properties cannot be transitioned, so these flags were incorrect.

Features and improvements ✨

  • Make published TypeScript declarations self-contained, fixing consumer builds that failed with skipLibCheck: false.
  • Improve terrain raycast accuracy for mouse events, camera fitting, and other pointer interactions.
  • Improve landmark model LOD switching with size-based distance heuristics for better rendering performance.

Bug fixes 🐞

  • Fix hd-road-markup elevated lines rendering flat with zero-exaggeration terrain.
  • Fix viewport-y symbol sorting causing a Vertex buffer is not big enough for the draw call error when a symbol bucket had multiple segments.
  • Fix multilinestrings not displaying labels correctly.
  • Fix parametric colors sometimes loading the wrong cached image.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.26.0-rc.1

Die Release Candidate 3.26.0-rc.1 entfernt die Flags transition und interpolated von camera-projection (Breaking Change), macht TypeScript-Deklarationen eigenständig, verbessert Terrain-Raycasts und Landmark-LOD und behebt mehrere Rendering- und Label-Fehler.

Breaking changes ⚠️

  • Remove transition and interpolated flags from the camera-projection style property — enum properties cannot be transitioned, so these flags were incorrect.

Features and improvements ✨

  • Make published TypeScript declarations self-contained, fixing consumer builds that failed with skipLibCheck: false.
  • Improve terrain raycast accuracy for mouse events, camera fitting, and other pointer interactions.
  • Improve landmark model LOD switching with size-based distance heuristics for better rendering performance.

Bug fixes 🐞

  • Fix hd-road-markup elevated lines rendering flat with zero-exaggeration terrain.
  • Fix viewport-y symbol sorting causing a Vertex buffer is not big enough for the draw call error when a symbol bucket had multiple segments.
  • Fix multilinestrings not displaying labels correctly.
  • Fix parametric colors sometimes loading the wrong cached image.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.25.0

Version 3.25.0 stellt den ESM-Einstiegspunkt auf Named Exports um (Breaking Change, accessToken nun als Map-Option), erweitert getLayerProperty/setLayerProperty und die TileProvider-API und bringt Performance-Verbesserungen sowie neue Methoden für GeolocateControl und Handler.

Breaking changes ⚠️

  • Switch the ESM entry point to named exports (import * as mapboxgl from 'mapbox-gl/esm') so that modern bundlers can eliminate small unused parts of the code. Replace mapboxgl.accessToken with Map accessToken option. Most of the bundle still can't be statically eliminated, but this release also improves lazy loading of code at runtime, with more improvements on the way.

Features and improvements ✨

  • Extend Map getLayerProperty and setLayerProperty to support layer-level properties (minzoom, maxzoom, filter, slot, appearances)
  • Extend TileProvider API to accept ImageBitmap for raster and raster-dem providers.
  • Improve model loading and rendering performance.
  • Improve symbol rendering performance.
  • Improve performance of decoding and encoding vector tiles and other protobuf-encoded assets.
  • Improve color parsing performance, slightly improving load time for styles with many color values.
  • Extract indoor and part of the model rendering code to be loaded on demand when using the ESM entry point.
  • Add GeolocateControl ready event and setShowAccuracyCircle, setShowUserHeading, setFitBoundsOptions, setShowUserLocation methods.
  • Add KeyboardHandler disablePan/enablePan methods.
  • Add DragRotateHandler disablePitch/enablePitch methods.
  • Add TouchZoomRotateHandler disableTapDragZoom/enableTapDragZoom methods. …

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.24.1

Version 3.24.1 behebt ein Problem beim Rendern von Custom Layern zusammen mit datengesteuertem line-emissive-strength.

Bug fixes 🐞

  • Fix an issue with custom layer rendering alongside data-driven line-emissive-strength.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.25.0-rc.1

Die Release Candidate 3.25.0-rc.1 stellt den ESM-Einstiegspunkt auf Named Exports um (Breaking Change, accessToken nun als Map-Option), erweitert die Layer-Property- und TileProvider-APIs und verbessert die Performance.

Breaking changes ⚠️

  • Switch the ESM entry point to named exports (import * as mapboxgl from 'mapbox-gl/esm') so that modern bundlers can eliminate small unused parts of the code. Replace mapboxgl.accessToken with Map accessToken option. Most of the bundle still can't be statically eliminated, but this release also improves lazy loading of code at runtime, with more improvements on the way.

Features and improvements ✨

  • Extend Map getLayerProperty and setLayerProperty to support layer-level properties (minzoom, maxzoom, filter, slot, appearances)
  • Extend TileProvider API to accept ImageBitmap for raster and raster-dem providers.
  • Improve model loading and rendering performance.
  • Improve symbol rendering performance.
  • Improve performance of decoding and encoding vector tiles and other protobuf-encoded assets.
  • Improve color parsing performance, slightly improving load time for styles with many color values.
  • Extract indoor and part of the model rendering code to be loaded on demand when using the ESM entry point.
  • Add GeolocateControl ready event and setShowAccuracyCircle, setShowUserHeading, setFitBoundsOptions, setShowUserLocation methods.
  • Add KeyboardHandler disablePan/enablePan methods.
  • Add DragRotateHandler disablePitch/enablePitch methods.
  • Add TouchZoomRotateHandler disableTapDragZoom/enableTapDragZoom methods. …

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.24.0

Version 3.24.0 führt LOD-Unterstützung für Landmark-Modelle und die Eigenschaft line-blend-additive-clamp ein, verbessert an vielen Stellen die Rendering- und Ladeleistung und behebt ein Speicherleck beim Zerstören der Karte.

Features and improvements ✨

  • Introduce Level of Detail (LOD) support for landmark models, enabling automatic switching between model versions based on camera distance.
  • Support additive blend mode with clamped density by setting the line-blend-additive-clamp property.
  • Improve rendering performance by reducing per-frame matrix allocations.
  • Improve rendering performance via parallel shader compilation on supported devices.
  • Improve rendering performance by advancing shader precompilation.
  • Improve shadow rendering performance.
  • Improve vector icon loading performance.
  • Improve initial load by skipping redundant config-related style layers updates in Web Workers.
  • Improve initial load by rescheduling shader precompilation to occur during browser idle time after the map's idle event.
  • Improve model processing performance.
  • Improve performance and memory footprint by streamlining communication between the main thread and Web Workers.
  • Reduce first-interaction jank by optimizing shader compilation pipeline behavior.
  • Optimize expression parsing performance.
  • Improve an error messaging for the line-trim-offset property without lineMetrics.

Bug fixes 🐞

  • Fix LUT to properly work with premultiplied color.
  • Fix a potential memory leak and crash occurring when a map was destroyed.
  • Fix an issue where cross-fragments config values were not correctly updated.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.24.0-rc.1: LOD für Landmark-Modelle und Performance

Version 3.24.0-rc.1 führt Level of Detail (LOD) für Landmark-Modelle und die Eigenschaft line-blend-additive-clamp ein, verbessert an vielen Stellen die Leistung und behebt Probleme mit LUT und einem Speicherleck beim Zerstören einer Karte.

Features and improvements ✨

  • Introduce Level of Detail (LOD) support for landmark models, enabling automatic switching between model versions based on camera distance.
  • Support additive blend mode with clamped density by setting the line-blend-additive-clamp property.
  • Improve rendering performance by reducing per-frame matrix allocations.
  • Improve rendering performance via parallel shader compilation on supported devices.
  • Improve rendering performance by advancing shader precompilation.
  • Improve shadow rendering performance.
  • Improve vector icon loading performance.
  • Improve initial load by skipping redundant config-related style layers updates in Web Workers.
  • Improve initial load by rescheduling shader precompilation to occur during browser idle time after the map's idle event.
  • Improve model processing performance.
  • Improve performance and memory footprint by streamlining communication between the main thread and Web Workers.
  • Reduce first-interaction jank by optimizing shader compilation pipeline behavior.
  • Optimize expression parsing performance.
  • Improve an error messaging for the line-trim-offset property without lineMetrics.

Bug fixes 🐞

  • Fix LUT to properly work with premultiplied color.
  • Fix a potential memory leak and crash occurring when a map was destroyed.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.23.1

Version 3.23.1 behebt einen Renderfehler bei fill-extrusion-Layern, wenn Terrain in bestimmten Randfällen aktiviert ist.

Bug fixes 🐞

  • Fix a rendering error occurring with fill-extrusion layers when terrain is enabled in specific edge cases.

Originalquelle(öffnet in neuem Tab)Problem melden

Mapbox Gl Js von Mapbox

Mapbox GL JS 3.23.0

Version 3.23.0 ergänzt TileProvider für Raster-Quellen mit PMTiles-Unterstützung, ein ESM-Bundle im NPM-Paket und eine stabile Interactions API und behebt mehrere Renderfehler.

Features and improvements ✨

  • Improve the performance of symbol layers on old devices.
  • Add TileProvider for raster and raster-dem sources, adding support for PMTiles with raster tiles.
  • Enable client-side fontstack compositing by default. When multiple fonts are requested they are now fetched individually and composited on the client.
  • Promote interactions API to stable.
  • Add a bundler-friendly ESM bundle in the NPM package (import mapboxgl from 'mapbox-gl/esm').
  • Lazy-load procedural buildings and precipitation code when using the ESM entry point.

Bug fixes 🐞

  • Fix values smaller than 1 in line-dasharray not working.
  • Fix a render issue where black boxes could appear instead of symbols briefly in some environments.
  • Fix scale-factor being applied twice to icons with feature-dependent icon-size.
  • Fix redundant WASM requests on map load when using the Standard style.
  • Fix hillshade rendering issue when using Safari in private browsing mode.

Originalquelle(öffnet in neuem Tab)Problem melden