CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
Public Attributes | List of all members
com.cartotype.NavigatorParam Class Reference

Public Attributes

int iMinimumFixDistance = 5
 
int iRouteDistanceTolerance = 20
 
int iRouteTimeTolerance = 30
 
boolean iAutoReRoute = true
 
boolean iNavigationEnabled = true
 

Detailed Description

Parameters governing navigation behavior.

Member Data Documentation

◆ iAutoReRoute

boolean com.cartotype.NavigatorParam.iAutoReRoute = true

True if route is recalculated automatically when the vehicle goes off route (the default). If not, the route is recalculated the next time the user provides a navigation fix. This gives the application time to issue a warning if the routing algorithm is likely to be slow.

◆ iMinimumFixDistance

int com.cartotype.NavigatorParam.iMinimumFixDistance = 5

Minimum distance between location fixes in metres that is taken as an actual move.

◆ iNavigationEnabled

boolean com.cartotype.NavigatorParam.iNavigationEnabled = true

If true, and if there is a route, the position on route is updated and turn information is created, when a position update arrives. If false, the vehicle position and speed are updated but other behaviour is the same as if there is no route.

◆ iRouteDistanceTolerance

int com.cartotype.NavigatorParam.iRouteDistanceTolerance = 20

Maximum distance from the route in metres before the vehicle is deemed off-route.

◆ iRouteTimeTolerance

int com.cartotype.NavigatorParam.iRouteTimeTolerance = 30

Maximum time off route in seconds before a new route needs to calculated.


The documentation for this class was generated from the following file: