Packages
@mappedin/blue-dot: 6.22.0-beta.0@mappedin/dynamic-focus: 6.22.0-beta.0@mappedin/events: 6.22.0-beta.0@mappedin/icons: 8.4.0@mappedin/mappedin-js: 6.22.0
Features
- Added
Navigation.markers, accessible viaMapView.navigation, which returns the departure, destination, and connectionMarkers drawn for the current route as strongly-typedNavigationMarkerobjects (each exposing amarkerand aNavigationMarkerType).
mapView.navigation.markers { result ->
result.onSuccess { markers ->
markers.forEach { navMarker ->
when (navMarker.type) {
NavigationMarkerType.DEPARTURE -> { /* ... */ }
NavigationMarkerType.DESTINATION -> { /* ... */ }
NavigationMarkerType.CONNECTION -> { /* ... */ }
}
}
}
}
-
Added
isConnectionSegmentanddistancetoPathSegment. -
Upgraded to Mappedin JS v6.22.0.
Fixes
- Fixed an issue where the
onMVFParsedcallback onGetMapDataWithCredentialsOptionsandGetMapDataWithAccessTokenOptionswas never invoked. When provided, it now fires once after the map data is fetched and parsed, receiving a strongly-typedMVFmodel.