github maplibre/maplibre-gl-js v3.2.0

latest releases: v4.7.0, v4.6.0, v4.5.2...
14 months ago

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.1.0:

✨ Features and improvements

  • Change all internal exports to named exports(#2711)
  • Docs generation is now part of this repo(#2733)
  • Add className option to Marker constructor (#2729)
  • Immediately redraw the map after setting pixel ratio (#2674)
  • Add maxCanvasSize option to limit canvas size. It can prevent reaching the GL limits and reduce the load on the devices. Default value is [4096, 4096].
  • Reduce maxCanvasSize when hitting GL limits to avoid distortions (#2674)
  • Rewrite all the code comments in TSDocs, introduced a new documentaiton system and moved examples into this repository for better debug options (#2756)
  • ⚠️ Removed non documented Marker constructor parameter (#2756)

🐞 Bug fixes

  • Return undefined instead of throwing from Style.serialize() when the style hasn't loaded yet (#2712)
  • Don't throw an exception from checkMaxAngle when a label with length 0 is on the last segment of a line (#2710)
  • Fix the tap then drag zoom gesture detection to abort when the two taps are far away (#2673)
  • Fix regression - update pixel ratio when devicePixelRatio changes, restoring the v1.x behaviour (#2706)
  • Fix incorrect elevation calculation [#2772]

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

NewReleases is sending notifications on new releases.