Mappedin SDK for iOS & Android v6.5.0

Features

  • Added interactivity to GeometryState, GeometryUpdateState, ShapeState, and ShapeUpdateState, which controls how geometry and shapes participate in pointer-event raycasting. The new Interactive type supports Interactive.Boolean(true) (fires hover and click handlers), Interactive.Boolean(false) (captures the raycast so nothing behind it receives events, but fires no handler), and Interactive.PassThrough (skips the geometry entirely so events fall through to whatever is rendered behind it). The True and False convenience values are also provided. The existing boolean interactive property is now deprecated in favour of interactivity.
mapView.updateState(

space,

GeometryUpdateState(interactivity = GeometryState.Interactive.PassThrough),

) { }

  • Added displayArrowsOnPath to PathSectionHighlightOptions, which independently controls whether direction arrows are drawn inside a highlighted section of a Path, regardless of the path-level displayArrowsOnPath setting.

  • 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 as DynamicFocusMode.DEFAULT_FLOOR does.

dynamicFocus.enable(

DynamicFocusOptions(

mode = DynamicFocusMode.ACTIVE_FLOOR,

autoFocus = true,

setFloorOnFocus = true,

),

)

  • Added layoutId to GetMapDataWithCredentialsOptions and GetMapDataWithAccessTokenOptions, which accepts "draft" to load unpublished enterprise maps.

  • Upgraded to Mappedin JS v6.21.1.