Skip to content

v3.11.0

Choose a tag to compare

@katemihalikova katemihalikova released this 04 Feb 10:41
1bfed88

✨ Features and improvements

  • Adds the new MapTilerAnimation module and associated helpers for creating and managing animations, lerping between values and 'smoothing' arrays.
  • Adds the new AnimatedRouteLayer module and associated helpers for animating camera movement along GeoJSON features paths.
  • Adds better validation of space specifications in CubemapLayer
  • Adds new signature to Map.setProjection that allows to use just "globe" and "mercator" instead of projection specification object
  • Adds new option to Map.setProjection that allows it to persist the projection even after style change (like Map.enableGlobeProjection and Map.enableMercatorProjection do)
  • Adds new method Map.forgetPersistedProjection that forgets a persisted projection
  • Bumps MapLibre to version 3.16.0
  • Bump MapLibre Style Spec to 24.4.1

🐛 Bug Fixes

  • Fixes a bug where map.getProjection() did not return a value when default projection was used.
  • Fixes bugs in space and halo where precedence of constructor options vs remote styles was not enforced correctly.
  • Fixes a bug where space would not load correctly if a new remote style spec was undefined.
  • Fixes some bugs in AnimatedRouteLayer and animation-helpers.ts where the first and final points in a list of coordinates were removed during path smoothing.
  • Fixes a bug on Safari where requestIdleCallback is not supported.
  • Fixes a bug on ImageViewer where initialising would time out on Safari.

⚙️ Others

  • Better e2e Test coverage for Space & Halo
  • Deprecates Map.enableGlobeProjection and Map.enableMercatorProjection in favour of Map.setProjection with persist option set to true
  • Fixes a typo in ImageViewer typedefs