CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
|
Public Attributes | |
int | segmentIndex |
int | lineIndex |
double | nearestPointX |
double | nearestPointY |
double | distanceToRoute |
double | distanceAlongRoute |
double | distanceAlongSegment |
double | timeAlongRoute |
double | timeAlongSegment |
double | heading |
Information about the nearest route segment to a point.
double com.cartotype.NearestSegmentInfo.distanceAlongRoute |
The distance of the nearest point along the route in meters.
double com.cartotype.NearestSegmentInfo.distanceAlongSegment |
The distance within the current segment in meters.
double com.cartotype.NearestSegmentInfo.distanceToRoute |
The distance from the other point to iNearestPoint in meters.
double com.cartotype.NearestSegmentInfo.heading |
The heading of the nearest line as a map angle taken anti-clockwise from rightwards.
int com.cartotype.NearestSegmentInfo.lineIndex |
The index of the line within the segment's path: line N goes from point N to point N + 1.
double com.cartotype.NearestSegmentInfo.nearestPointX |
The X coordinate of the point in the segment's path nearest to the other point, in map coordinates.
double com.cartotype.NearestSegmentInfo.nearestPointY |
The Y coordinate of the point in the segment's path nearest to the other point, in map coordinates.
int com.cartotype.NearestSegmentInfo.segmentIndex |
The index of the segment in the Route object, or -1 if there were no segments.
double com.cartotype.NearestSegmentInfo.timeAlongRoute |
The estimated time of the nearest point, along the route, in seconds.
double com.cartotype.NearestSegmentInfo.timeAlongSegment |
The estimated time within the current segment, in seconds.