Web SDK & React SDK v6.0.1-beta.11

v6.0.1-beta.11

October 29, 2024

Changes

MapView.Paths.add() has been changed. It will now return a Path directly, while previous it returned Promise<Path>. This should make it easier to remove a path before the animation completes.

const path = mapView.Paths.add(...);
mapView.Paths.remove(path);

The draw animation can now be awaited by accessing Path.animation.

// Before
const path = await mapView.Paths.add(...);

// Now
const path = mapView.Paths.add(...);
await path.animation;

Features

  • Added support for directions smoothing on enterprise maps.
  • Added support to remove the watermark for enterprise customers.
  • Enabled backend analytics.

Fixes

  • Fixed MapView.Outdoor.setStyle() not always hiding the building footprint after the style changes.
  • Fixed auth0 tokens always requesting enterprise map data.
  • Fixed MapView.Camera.focusOn() not respecting bearing: 0.
1 Like