github maplibre/maplibre-gl-js v6.13.0

3 hours ago

✨ Features and improvements

  • Let the globe center reach the poles, where it stopped at 85.05° (#8629) (by @birkskyum)
  • Speed up symbol layout by skipping line breaking for labels that fit on one line (#8617) (by @DoFabien)
  • Add experimental CustomLayerInterface.renderToTerrainTile, CustomLayerInterface.terrainTileRevision and renderTerrainHeightMap in the options of prerender, so custom layers can drape what they draw over the terrain and place objects on it on the GPU (#8588) (by @birkskyum)

🐞 Bug fixes

  • Fix a stale cached worker crashing the map after an upgrade: the worker is self-contained again instead of importing maplibre-gl-shared.mjs, and its default URL carries the version as a v query parameter. maplibre-gl-shared.mjs and maplibre-gl-shared-dev.mjs are now empty files, kept so that existing copy steps don't fail; they are deprecated and will be removed in the next major version (#8621) (by @HarelM)
  • Fix globeDistanceOfLocationsPixels returning NaN when two copies of the same point have a dot product slightly above 1 (#8624)(by @Dimononon)
  • Keep the camera above the terrain, where a scroll zoom into a mountain could take it under the surface and the zoom's end throw it kilometers up (#8539) (by @johncarmack1984)

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

NewReleases is sending notifications on new releases.