New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mapbox-gl

Package Overview
Dependencies
Maintainers
28
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapbox-gl - npm Package Versions

23
24

3.10.0

Diff

Changelog

Source

3.10.0

Features and improvements ✨

  • Add support for data-driven *-use-theme properties.
  • Improve rendering of complex SVG clip paths for vector icons.

Bug fixes 🐞

  • Fix some mouse gestures for Firefox 136 and later on Mac OS.
  • Fix issue where the close popup button was hidden from screen readers.
  • Fix updating of schema config values of imported styles.
  • Fix line placement symbol disappearing issue during transition from globe.
  • Fix queryRenderedFeatures not working on duplicated model layers.
  • Fix in-place update for SDF image.
  • Fix LUT not being applied to in-place updated image.
  • Fix various issues with using mouseenter and mouseleave with Interactions API.
  • Fix error with interactible map elements during interaction with a map that wasn't fully loaded.
  • Fix rendering of elevated and non-elevated lines on the same layer.
  • Fix pixel ratio handling for patterns with vector icons.
  • Fix positioning of vector icons with modified icon-size.
  • Fix a blank map issue after WebGL context loss.
  • Fix loss of precision for close to camera models.
  • Fix transparent models not being culled when terrain is enabled.
mapbox-npm-01
published 3.10.0-beta.1 •

Changelog

Source

3.10.0-beta.1

Features and improvements ✨

  • Add support for data-driven *-use-theme properties.
  • Improve rendering of complex SVG clip paths for vector icons.

Bug fixes 🐞

  • Fix issue where the close popup button was hidden from screen readers.
  • Fix queryRenderedFeatures not working on duplicated model layers.
  • Fix rendering of elevated and non-elevated lines on the same layer.
  • Fix a blank map issue after WebGL context loss.
mapbox-npm-01
published 3.9.4 •

Changelog

Source

3.9.4

  • Fix vector icons rendering with stretch areas on high DPI devices.
mapbox-npm-01
published 3.9.3 •

Changelog

Source

3.9.3

  • Fix issues when updating feature state on symbol layers.
  • Fix canvas source not rendering correctly after a canvas resize.
mapbox-npm-01
published 3.9.2 •

Changelog

Source

3.9.2

  • Fix display of user-rendered images.
  • Fix a broken build issue in specific bundling configurations using Vite or ESBuild.
  • Fix console error issue that sometimes occur during map initialization.
mapbox-npm-01
published 3.9.1 •

Changelog

Source

3.9.1

  • Fix an error when using background patterns on styles with vector icons enabled.
  • Fix queryRenderedFeatures not working on styles with custom layers.
  • Fix small rendering artifacts on line corners when using patterns with line-join: none.
  • When using queryRenderedFeatures and querySourceFeatures with featureset, fix filter option to apply to featureset selectors rather than original properties, and add featureNamespace validation.
  • Fix queryRenderedFeatures missing source, sourceLayer and layer properties in resulting features where they should be present.
mapbox-npm-01
published 3.9.0 •

Changelog

Source

3.9.0

Breaking changes ⚠️

  • Rename featureset property to target in addInteraction and queryRenderedFeatures options.

Features and improvements ✨

  • Add experimental vector icons support.
  • Add experimental precipitation support through snow and rain style properties.
  • Add experimental features for interactive indoor maps.
  • Add to-hsla expression.
  • Add *-use-theme property to override the color theme for specific layers.
  • Add support for color-theme overrides in imports.
  • Add per-feature mouseenter, mouseover, mouseleave, and mouseout events for addInteraction.
  • Enable mixing featuresets and layers in the Map#queryRenderedFeatures.
  • Improve landmark rendering performance.
  • The clip layer is now stable and no longer marked experimental.

Bug fixes 🐞

  • Fix crash on devices with PowerVR GPUs.
  • Fix dark shade of fill-extrusion buildings caused by specific light directions.
  • Fix double shadowing on lines at ground level.
  • Fix shadow acne from 3D structures close to the ground.
  • Fix update of state-dependent features during brightness changes.
  • Fix an edge case with fill extrusions around tile borders not being updated correctly on terrain load.
  • Fix a race condition where using line-z-offset would sometimes break layer rendering order.
mapbox-npm-01
published 3.9.0-beta.1 •

Changelog

Source

3.9.0-beta.1

Breaking changes ⚠️

  • Rename featureset property to target in addInteraction and queryRenderedFetures options.

Features and improvements ✨

  • Add experimental features for interactive indoor maps.
  • Add experimental vector icons support.
  • Add experimental precipitation support through snow and rain style properties.
  • Add to-hsla expression.
  • Add *-use-theme property to override the color theme for specific layers.
  • Add support for color-theme overrides in imports.
  • Add per-feature mouseenter, mouseover, mouseleave, and mouseout events for addInteraction.
  • Enable mixing featuresets and layers in the Map#queryRenderedFeatures.
  • Improve landmark rendering performance.

Bug fixes 🐞

  • Fix crash on devices with PowerVR GPUs.
  • Fix dark shade of fill-extrusion buildings caused by specific light directions.
  • Fix double shadowing on lines at ground level.
  • Fix shadow acne from 3D structures close to the ground.
  • Fix update of state-dependent features during brightness changes.
mapbox-npm-01
published 3.8.0 •

Changelog

Source

3.8.0

Features and improvements ✨

  • Add experimental support for style-defined featuresets, an upcoming way to query features in Mapbox Standard and other fragment-based styles.
  • Add experimental Map addInteraction/removeInteraction methods that make it easier to manage map interactions like clicking and hovering over features.
  • Add experimental support for elevated lines with line-cross-slope and line-elevation-reference properties.
  • Add experimental scaleFactor map option and setScaleFactor method to increase map label size (useful for improving accessibility or adjusting text size for different devices).
  • Add support for using line-progress expression in non-data-driven line properties.
  • Improve performance of dynamic brightness changes.
  • Minor optimizations to reduce load time.

Bug fixes 🐞

  • Fix localization when setting a worldview on the Mapbox Standard style.
  • Fix raster array rendering on some Android devices.
  • Fix an issue where fill-extrusion buildings would disappear when zooming out.
  • Fix line joins for thick semi-transparent or blurred lines.
  • Improve appearance of line corners with densely placed vertices.
  • Fix anti-alising aftifacts on blurred lines.
  • Fix call stack overflow caused by repeated addImport calls.
  • Fix failures when handling non-renderable characters.
  • Fix rendering of Osage script.
  • Fix certain edge cases when using config expression in filter properties.
  • Fix patterned fill extrusions being visible with zero opacity alpha.
  • Fix data-driven symbol-z-offset not working properly.
  • Fix fill extrusions on terrain producing WebGL warnings in some cases.
  • Fix line-emissive-strength not being applied to patterned lines.
mapbox-npm-01
published 3.8.0-beta.1 •

23
24
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc