CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
|
Public Member Functions | |
native int | fromCount () |
native int | toCount () |
native int | time (int aFromIndex, int aToIndex) |
native int | distance (int aFromIndex, int aToIndex) |
A matrix of route times and distances between sets of points.
native int com.cartotype.TimeAndDistanceMatrix.distance | ( | int | aFromIndex, |
int | aToIndex | ||
) |
Returns the distance in metres along the best route from one of the 'from' points to one of the 'to' points.
native int com.cartotype.TimeAndDistanceMatrix.fromCount | ( | ) |
Returns the number of 'from' points.
native int com.cartotype.TimeAndDistanceMatrix.time | ( | int | aFromIndex, |
int | aToIndex | ||
) |
Returns the time in seconds taken to travel on the best route from one of the 'from' points to one of the 'to' points.
native int com.cartotype.TimeAndDistanceMatrix.toCount | ( | ) |
Returns the number of 'to' points.