Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The core component of Navmii SDK responsible for visualization of route-related data is NMRouteVisualizer. This class provides the API to render routes, alternative routes and waypoint markers on map.

...

NMRouteVisualizer class conforms to the NMRouteVisualizerRequestListener protocol which allows to bind it to a source of route visualizer request sourcerequests. The only source of route visualizer request requests in Navmii SDK is NMRouteNavigator class which automatically renders route being navigated on map. You are , which is able to render the route being navigated. To achieve such a behaviour you need to connect the route visualizer (routeVisualizer property of NMSdk) to the route navigator (routeNavigator property of NMSdk) using addRouteVisualizerRequestListener: method of NMRouteNavigatorYou are also able to implement your own route visualizer request source if you need to.

...