

(For more information on the OnPositionChangedListener, see Positioning section.) If the road element at position contains the tunnel attribute, it implies that the current location is provided by tunnel extrapolation. However, if your application also listens to the onPositionFixChanged() callback from PositioningManager.OnPositionChangedListener, then it receives this callback signifying a position fix change. If your application listens to position updates from NavigationManager.PositionListener, there are regular position updates during tunnel extrapolation.

It uses the last available position data which contains speed, orientation and GeoCoordinate to estimate the position of your vehicle inside a tunnel. Tunnel extrapolation is also performed internally by NavigationManager.

In simulation mode, the map-matched position is simulated along the route with a user-defined speed. Map Matching is automatically enabled in both navigation mode and tracking mode. Otherwise, navigation operations will not work properly. Instead, the application must first download the required map data through the use of MapLoader or MapDataPrefetcher.
