Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

maplibre-gl

Package Overview
Dependencies
Maintainers
4
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maplibre-gl - npm Package Versions

1
12

4.0.0-pre.1

Diff

Changelog

Source

4.0.0-pre.1

✨ Features and improvements

  • Changed ImageRequest to be Promise based (#3233)
  • ⚠️ Changed the underlying worker communication from callbacks to promises. This has a breaking effect on the implementation of custom WorkerSource and how it behaves (#3233)
  • ⚠️ Changed the Source interface to return promises instead of callbacks (#3233)
  • ⚠️ Changed all the sources to be promises based. (#3233)
  • ⚠️ Changed the map.loadImage method to return a Promise instead of a callback usage (#3233)

🐞 Bug fixes

  • Fixes a security issue in Actor against XSS attacks in postMessage / onmessage (#3239)
maplibreorg
published 3.6.2 •

Changelog

Source

3.6.2

🐞 Bug fixes

  • Fix mapbox-gl-draw example (#2601, #3394)
  • Fix fill patterns sometimes not rendering at all (#3339)
maplibreorg
published 3.6.1 •

Changelog

Source

3.6.1

🐞 Bug fixes

  • Fix undefined _onEaseFrame call in Camera._renderFrameCallback() while doing Camera.jumpTo during a Camera.easeTo (#3332)
maplibreorg
published 3.6.0 •

Changelog

Source

3.6.0

✨ Features and improvements

  • Add getLayersOrder() to Map and Style (#3279)
  • Updated description of fullscreen example (#3311)

🐞 Bug fixes

  • Fix null feature properties in resolve_tokens (#3272)
maplibreorg
published 3.5.2 •

Changelog

Source

3.5.2

✨ Features and improvements

  • Convert plantuml diagrams to mermaid (#3217)
  • Improve buffer transfer in Safari after Safari fixed a memory leak bug (#3225)
  • Minify internal exports to reduce bundle size (#3216)

🐞 Bug fixes

  • Add terrain property to map style object (#3234)
  • Fix exception thrown from isWebGL2 check (#3238)
  • Fix rollup watch mode (#3270)
maplibreorg
published 3.5.1 •

Changelog

Source

3.5.1

🐞 Bug fixes

  • Fix regression introduced in 3.5.0, related to async/await (#3228)
maplibreorg
published 3.5.0 •

Changelog

Source

3.5.0

✨ Features and improvements

  • Add setTiles method to RasterTileSource to dynamically update existing tile sources. (#3208)
maplibreorg
published 3.4.1 •

Changelog

Source

3.4.1

✨ Features and improvements

  • Locally rendered glyphs are double resolution (48px), greatly improving sharpness of CJK text. (#2990, #3006)

🐞 Bug fixes

  • Fix setStyle->style.setState didn't reset _serializedLayers (#3133).
  • Fix Raster DEM decoding in safari private browsing mode (#3185)
maplibreorg
published 3.4.0 •

Changelog

Source

3.4.0

✨ Features and improvements

  • Improve error message when a tile can't be loaded (#3130)
  • Support custom raster-dem encodings (#3087)

🐞 Bug fixes

  • Fixed Interrupting a scroll zoom causes the next scroll zoom to return to the prior zoom level by reseting scroll handler state properly (#2709, #3051)
  • Fix unit test warning about duplicate module names (#3049)
  • Correct marker position when switching between 2D and 3D view (#2996)
  • Fix error thrown when unsetting line-gradient [#2683]
  • Update raster tile end points in documentation
  • Avoiding inertia animation on Mac when reduced motion is on (#3068)
  • 3d buildings example doesn't work as expected (#3165)
maplibreorg
published 3.3.1 •

Changelog

Source

3.3.1

✨ Features and improvements

  • Copy LICENSE.txt to dist folder so it's included in 3rdpartylicenses.txt by webpack (#3021)

🐞 Bug fixes

  • Correct declared return type of Map.getLayer() and Style.getLayer() to be StyleLayer | undefined to match the documentation (#2969)
  • Correct type of Map.addLayer() and Style.addLayer() to allow adding a layer with an embedded source, matching the documentation (#2966)
  • Throttle map resizes from ResizeObserver to reduce flicker (#2986)
  • Correct function Map.setTerrain(options: TerrainSpecification): Map to be Map.setTerrain(options: TerrainSpecification | null): Map per the API spec (#2993)
  • Correct function Map.getTerrain(): TerrainSpecification to be Map.getTerrain(): TerrainSpecification | null for consistency with the setTerrain function (#3020)
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