# Mappedin JS, React & React Native SDK v6.20.0

**URL:** <https://community.mappedin.com/t/mappedin-js-react-react-native-sdk-v6-20-0/566>\
**Category:** News & Announcements\
**Created:** [June 4, 2026, 4:44pm UTC](https://community.mappedin.com/t/mappedin-js-react-react-native-sdk-v6-20-0/566 "2026-06-04T16:44:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msohm](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/msohm/32/6_2.png) [@msohm](https://community.mappedin.com/u/msohm)\
**Post date:** [June 4, 2026, 4:44pm UTC](https://community.mappedin.com/t/mappedin-js-react-react-native-sdk-v6-20-0/566/1 "2026-06-04T16:44:13Z")

</div>

## **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.

```auto
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 `Shape`s.
- Fixed an issue where `Label`s and `Marker`s 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 `Label`s and `Marker`s could intermittently detach from their geometry in outdoor maps.
- Fixed an issue where `Label`s and `Marker`s could detach from their geometry after resizing the map on high-resolution displays.
- Fixed an issue where `Label`s could take several seconds to fade in while panning the camera or switching floors.
- Fixed an issue where hidden image overlays could prevent nearby `Label`s 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.
