github maplibre/maplibre-gl-js v2.0.0

latest releases: v5.0.0-pre.1, v4.7.1, v4.7.0...
2 years ago

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.0-pre.5:

Features and improvements

  • Migrated the production code to typescript
  • ** Breaking Change ** removed version from the public API
  • ** Breaking Change ** stopped supporting IE (internet explorer)
  • ** Breaking Change ** removed all code related to accessToken and Mapbox specific urls starting with mapbox://. Telemetry and tracking code was removed.
  • ** Breaking Change ** removed baseApiUrl as it was used only for Mapbox related urls
  • ** Breaking Change ** typescript typings have changed:
    • Style => StyleSpecification
    • AnyLayer => LayerSpecification
    • AnySourceData => SourceSpecification
    • MapboxEvent => MapLibreEvent
    • MapboxOptions => MapOptions
    • MapBoxZoomEvent => MapLibreZoomEvent
    • *SourceRaw + *SourceOptions => *SourceSpecification
    • *Source (source implementation definition) were removed
    • *Layer => *LayerSpecification
    • *Paint => *LayerSpecification['paint']
    • *Layout => *LayerSpecification['layout']
    • MapboxGeoJSONFeature => GeoJSONFeature
  • Added redraw function to map (#206)
  • Improve attribution controls accessibility. See #359
  • Allow maxPitch value up to 85, use values greater than 60 at your own risk (#574)
  • getImage uses createImageBitmap when supported (#650)

🐞 Bug fixes

  • Fix warning due to strict comparison of SDF property in image sprite (#303)
  • Fix tile placeholder replacement to allow for placeholders to be in a URL more than once. (#348)
  • Fix type check for non dom environment. (#334)
  • Fix precision problem in patterns when overzoomed in OpenGL ES devices.
  • Fix padding-top of the popup to improve readability of popup text (#354).
  • Fix GeoJSONSource#loaded sometimes returning true while there are still pending loads (#669)
  • Fix MapDataEvent#isSourceLoaded being true in GeoJSONSource "dataloading" event handlers (#694)
  • Fix events being fired after Map#remove has been called when the WebGL context is lost and restored (#726)
  • Fix nested expressions types definition #757

Pre-release version

Don't miss a new maplibre-gl-js release

NewReleases is sending notifications on new releases.