startRendering abstract method

void startRendering(
  1. MapViewBase mapView
)

Starts visual navigation rendering.

A preconfigured current location marker is shown as soon as a location is received. The marker is chosen according to the transport mode specified in the route. If no route is present, the marker is chosen based on the NavigatorInterface.trackingTransportProfile property. Calling startRendering() changes the MapCamera.principalPoint property so that the current position indicator is equal to the value from CameraBehavior.normalizedPrincipalPoint, in which by default places the principal point slightly at the bottom of the mapview. It is restored to its original value when stopRendering() is called. Note: When rendering is started again for a new map view instance, rendering is automatically stopped on the previous map view instance. Also note that the MapViewBase.frameRate can be lowered to reduce CPU usage, to adjust for tradeoffs between rendering smoothness versus battery consumption.

  • mapView The map view on which visual navigation will take place.

Implementation

void startRendering(MapViewBase mapView);