Socket
Socket
Sign inDemoInstall

maplibre-gl

Package Overview
Dependencies
Maintainers
7
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maplibre-gl - npm Package Versions

1
11

4.0.0-pre.4

Diff

Changelog

Source

4.0.0-pre.4

🐞 Bug fixes

  • Fix missing export Map type in the d.ts file (#3564)
maplibreorg
published 4.0.0-pre.3 •

Changelog

Source

4.0.0-pre.3

✨ Features and improvements

  • ⚠️ Add the ability to import a script in the worker thread and call addProtocol and removeProtocol there (#3459) - this also changed how addSourceType works since now you'll need to load the script with maplibregl.importScriptInWorkers.
  • Upgraded to use Node JS 20 and removed the dependency of gl package from the tests to allow easier development setup. (#3452)
  • Improved precision and added a subtle fade transition to marker opacity changes (#3431)
  • Adds support for terrain in setStyle with diff method (#3515, #3463)

🐞 Bug fixes

  • Fix the shifted mouse events after a css transform scale on the map container (#3437)
  • Fix markers remaining transparent when disabling terrain (#3431)
  • Fix labels disappearing when enabling terrain at high zoom (#3545)
maplibreorg
published 4.0.0-pre.2 •

Changelog

Source

4.0.0-pre.2

✨ Features and improvements

  • ⚠️ Changes addProtocol to be promise-based without the usage of callbacks and cancelable (#3433)
  • ⚠️ Moved the addSourceType to be a part of the global maplibregl object instead of being per map object (#3420)
  • ⚠️ Removed callback usage from map.loadImage in continue to below change (#3422)
  • ⚠️ Changed the GeoJSONSource's getClusterExpansionZoom, getClusterChildren, getClusterLeaves methods to return a Promise instead of a callback usage (#3421)
  • ⚠️ Changed the setRTLTextPlugin function to return a promise instead of using callback (#3418) this also changed how the RTL plugin code is handled internally by splitting the main thread and worker thread code.
  • ⚠️ Remove setCooperativeGestures and getCooperativeGestures functions in favor of cooperativeGestures handler which now has an enabled() or disabled() methods (#3430)
  • Created a new example showing how to place a threejs scene as a CustomLayer over maplibre 3d-terrain (#3429)

🐞 Bug fixes

  • Fix zooming outside the central globe when terrain 3D is enabled (#3425)
  • Fix cursor being shown indefinitely as a pointer when removing a popup with its trackPointer method active (#3434)
  • Fix a bug in showing cooperative gestures when scroll zoom is disabled (#2498)
  • Handle loading of empty raster tiles (204 No Content) (#3428)
maplibreorg
published 4.0.0-pre.1 •

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)
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