Features
- Added
interactivitytoGeometryState,GeometryUpdateState,ShapeState, andShapeUpdateState, which controls how geometry and shapes participate in pointer-event raycasting. The newInteractivetype supportsInteractive.Boolean(true)(fires hover and click handlers),Interactive.Boolean(false)(captures the raycast so nothing behind it receives events, but fires no handler), andInteractive.PassThrough(skips the geometry entirely so events fall through to whatever is rendered behind it). TheTrueandFalseconvenience values are also provided. The existing booleaninteractiveproperty is now deprecated in favour ofinteractivity.
mapView.updateState(
space,
GeometryUpdateState(interactivity = GeometryState.Interactive.PassThrough),
) { }
-
Added
displayArrowsOnPathtoPathSectionHighlightOptions, which independently controls whether direction arrows are drawn inside a highlighted section of aPath, regardless of the path-leveldisplayArrowsOnPathsetting. -
Added
DynamicFocusMode.ACTIVE_FLOOR, a new Dynamic Focus mode that preserves the user’s last selected floor across outdoor and indoor zoom cycles, rather than resetting to the building’s default floor asDynamicFocusMode.DEFAULT_FLOORdoes.
dynamicFocus.enable(
DynamicFocusOptions(
mode = DynamicFocusMode.ACTIVE_FLOOR,
autoFocus = true,
setFloorOnFocus = true,
),
)
-
Added
layoutIdtoGetMapDataWithCredentialsOptionsandGetMapDataWithAccessTokenOptions, which accepts"draft"to load unpublished enterprise maps. -
Upgraded to Mappedin JS v6.21.1.