Mappedin JS, React & React Native SDK v6.20.0

v6.20.0

June 3, 2026

Features

  • Added hoverColor support to Shapes.add(), updateState(), and getState(), allowing each interactive Shape to use a custom hover color instead of the global default.
const shape = mapView.Shapes.add(geometry, {

color: "red",

hoverColor: "blue",

interactive: true,

});

mapView.updateState(shape, { hoverColor: "green" });

const { hoverColor } = mapView.getState(shape);

  • Added the layoutId option to getMapData(), which can be set to 'draft' to load unpublished map data. Requires an Enterprise API key.

Fixes

  • Fixed an issue where hover events would not fire for interactive Shapes.
  • Fixed an issue where Labels and Markers could become misaligned with their geometry after moving the browser window between displays with different pixel ratios or returning to a backgrounded tab.
  • Fixed an issue where Labels and Markers could intermittently detach from their geometry in outdoor maps.
  • Fixed an issue where Labels and Markers could detach from their geometry after resizing the map on high-resolution displays.
  • Fixed an issue where Labels could take several seconds to fade in while panning the camera or switching floors.
  • Fixed an issue where hidden image overlays could prevent nearby Labels from appearing at near top-down camera angles.
  • Fixed an issue where some polygons with holes could render with their holes incorrectly filled in.
  • Fixed an issue where the basement could be hidden beneath open-to-below areas on ground floors.
  • Fixed an issue where the outdoor camera could snap back to its previous position after being moved directly through mapView.Outdoor.map, and where Camera getters could report stale values in outdoor maps.