CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
|
Public Attributes | |
int | iMinimumFixDistance = 5 |
int | iRouteDistanceTolerance = 20 |
int | iRouteTimeTolerance = 30 |
boolean | iAutoReRoute = true |
boolean | iNavigationEnabled = true |
Parameters governing navigation behavior.
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.
int com.cartotype.NavigatorParam.iMinimumFixDistance = 5 |
Minimum distance between location fixes in metres that is taken as an actual move.
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.
int com.cartotype.NavigatorParam.iRouteDistanceTolerance = 20 |
Maximum distance from the route in metres before the vehicle is deemed off-route.
int com.cartotype.NavigatorParam.iRouteTimeTolerance = 30 |
Maximum time off route in seconds before a new route needs to calculated.