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

maplibre-gl

Package Overview
Dependencies
Maintainers
6
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

13
12

4.5.1

Diff

Changelog

Source

4.5.1

✨ Features and improvements

  • Allow trackpad pinch gestures to break through the cooperativeGestures setting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#4465)
  • Expose projection matrix parameters (#3136)
  • Add option to position markers at subpixel coordinates to prevent markers jumping on moveend (#4458)

🐞 Bug fixes

  • Fix lag on fast map zoom (#4366)
  • Fix unguarded read access to possibly undefined object (#4431)
  • Fix remove hash string when map is removed (#4427)
  • Fix GeolocateControl may be added twice when calling addControl/removeControl/addControl rapidly (#4454)
  • Fix style.loadURL abort error being logged when removing style (#4425)
  • Fix vector tiles not loading when html is opened via "resource://android" (i.e., the assets folder) in GeckoView on Android (#4451)
maplibreorg
published 4.5.0 •

Changelog

Source

4.5.0

✨ Features and improvements

  • Add sky implementation according to spec (#3645)

🐞 Bug fixes

  • Fix (de)serialization of extends of built-ins (currently only AjaxError) not working correctly in web_worker_transfer. Also refactored related web_worker_transfer code and added more tests (#4024)
maplibreorg
published 4.4.1 •

Changelog

Source

4.4.1

🐞 Bug fixes

  • Fix terrain listener memory leak when adding and removing Marker (#4284)
maplibreorg
published 4.4.0 •

Changelog

Source

4.4.0

✨ Features and improvements

  • Improve animation curve when easeTo and flyTo with constraints (#3793)
  • For filled extrusions, calculate the elevation per polygon (#3313)
  • Add events to GeolocateControl to allow a more granular interaction (#3847)
  • Make MapOptions.style optional to be consistent with Map.setStyle(null) (#4151)
  • Use Autoprefixer to handle vendor prefixes in CSS (#4165)
  • Make aria-label configurable for Map, Marker and Popup (#4147)
  • Map <canvas> is focusable only when interactive (#4147)
  • "Accept" headers set in Request Transformers are not overwritten (#4210)
  • ⚠️ Rename projMatrix to modelViewProjectionMatrix. Also rename invProjMatrix, alignedProjMatrix accordingly (#4215)
  • Publish an unminified prod build (#4265)

🐞 Bug fixes

  • ⚠️ Allow breaking lines in labels before a left parenthesis (#4138)
  • ⚠️ Fix ignoring embedded line breaks when symbol-placement is line or line-center (#4124)
  • Ensure loseContext exists before calling it (#4245)
  • Update deprecated -ms-high-contrast vendor prefix to (forced-colors: active) and (prefers-color-scheme: light) as appropriate (#4250)
maplibreorg
published 4.3.2 •

Changelog

Source

4.3.2

🐞 Bug fixes

  • Fix an issue with moveend zoom being different than the actual current zoom (#4132)
maplibreorg
published 4.3.1 •

Changelog

Source

4.3.1

🐞 Bug fixes

  • Fix drift in zoom that may happen during flyTo and easeTo due to freezeElevation logic. (#3878)
maplibreorg
published 4.3.0 •

Changelog

Source

4.3.0

✨ Features and improvements

  • Add getData method for GeoJSON Sources to provide the possibility to obtain all the source's features (#4082)
  • Allow cross-fading between raster tile source updates at the same zoom level (#4072)

🐞 Bug fixes

  • Fix normalizeSpriteURL before transformRequest throwing an Error with relative URLs (#3897)
  • Fix return type of map.cameraForBounds (#3760)
  • Fix to run benchmark with MAPLIBRE_STYLES environment variable (#2122)
  • Fix symbol collisions using inaccurate and sometimes entirely wrong collision boxes when the map is pitched or rotated (#210)
  • Fix text-translate and icon-translate behaving weirdly and inconsistently with other -translate properties (#3456)
  • Fix symbol collision debug view (showCollisionBoxes) not showing the actual bounding boxes used for collision and click areas. The displayed boxes now match actual collision boxes exactly (#4071)
  • Fix symbol collision boxes not being accurate for variable-anchor symbols (#4071)
  • Fix icon collision boxes using text-translate property for translation instead of the correct icon-translate (#4071)
maplibreorg
published 4.2.0 •

Changelog

Source

4.2.0

✨ Features and improvements

  • Update Popup's methods addClass and removeClass to return an instance of Popup (#3975)
  • New map option to decide whether to cancel previous pending tiles while zooming in (#4051)
  • Sprites include optional textFitHeight and textFitWidth values (#4019)
  • Add support for distance expression (#4076)
maplibreorg
published 4.1.3 •

Changelog

Source

4.1.3

✨ Features and improvements

  • Added const enum for actor messages to improve readability and maintainability. In tsconfig.json, isolatedModules flag is set to false in favor of generated JS size. (#3879)

🐞 Bug fixes

  • Fix different unwanted panning changes at the end of a panning motion, that happen on a large screen (#3935)
  • Fix image sources not being marked as loaded on error (#3981)
  • Fix ScaleControl options should be optional. (#4002)
  • Fix race condition in SourceCache that makes unit tests unstable. Eliminate a redundant 'visibility' event fired from Style class. (#3992)
  • Fix paint property not being updated by setPaintProperty (#2651)
maplibreorg
published 4.1.2 •

Changelog

Source

4.1.2

✨ Features and improvements

  • Hide Popup when its parent Marker is behind terrain (#3865)

🐞 Bug fixes

  • Fix type definition on localIdeographFontFamily (#3896)
  • Fix unwanted panning changes at the end of a panning motion (#3872)
  • Fix close events being fired for popups that aren't open (#3901)
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