Mappedin SDK for iOS & Android v6.6.0

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 via MapView.navigation, which returns the departure, destination, and connection Markers drawn for the current route as strongly-typed NavigationMarker objects (each exposing a marker and a NavigationMarkerType).
mapView.navigation.markers { result ->
    result.onSuccess { markers ->
        markers.forEach { navMarker ->
            when (navMarker.type) {
                NavigationMarkerType.DEPARTURE -> { /* ... */ }
                NavigationMarkerType.DESTINATION -> { /* ... */ }
                NavigationMarkerType.CONNECTION -> { /* ... */ }
            }
        }
    }
}
  • Added isConnectionSegment and distance to PathSegment.

  • Upgraded to Mappedin JS v6.22.0.

Fixes

  • Fixed an issue where the onMVFParsed callback on GetMapDataWithCredentialsOptions and GetMapDataWithAccessTokenOptions was never invoked. When provided, it now fires once after the map data is fetched and parsed, receiving a strongly-typed MVF model.