CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
|
Public Attributes | |
Default | |
StandardAStar | |
TurnExpandedAStar | |
StandardContractionHierarchy | |
TECH | |
Types of router; used when selecting a router type.
com.cartotype.RouterType.Default |
This router type causes the default router to be selected: the one for which serialized data is available in the map file, or, failing that, StandardAStar.
com.cartotype.RouterType.StandardAStar |
The A* router, which gives fast performance but takes a lot of memory and cannot create a route going twice through the same junction.
com.cartotype.RouterType.StandardContractionHierarchy |
The contraction hierarchy router is intended where less RAM is available: for example with large maps on mobile devices. It gives the same routes as StandardAStar, but is a little slower and does not support custom route profiles; the route profile is decided at the time of creating the CTM1 file.
com.cartotype.RouterType.TECH |
Turn-expanded contraction hierarchy.
com.cartotype.RouterType.TurnExpandedAStar |
A version of the A* router with road nodes and turn arcs; slower than StandardAStar, and uses more memory, but can generate routes going twice through the same junction, for more flexible routing.