CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
|
Public Attributes | |
int | iSegmentIndex |
int | iLineIndex |
double | iNearestPointX |
double | iNearestPointY |
double | iDistanceToRoute |
double | iDistanceAlongRoute |
double | iDistanceAlongSegment |
double | iTimeAlongRoute |
double | iTimeAlongSegment |
double | iHeading |
Information about the nearest route segment to a point.
double com.cartotype.NearestSegmentInfo.iDistanceAlongRoute |
The distance of the nearest point along the route in meters.
double com.cartotype.NearestSegmentInfo.iDistanceAlongSegment |
The distance within the current segment in meters.
double com.cartotype.NearestSegmentInfo.iDistanceToRoute |
The distance from the other point to iNearestPoint in meters.
double com.cartotype.NearestSegmentInfo.iHeading |
The heading of the nearest line as a map angle taken anti-clockwise from rightwards.
int com.cartotype.NearestSegmentInfo.iLineIndex |
The index of the line within the segment's path: line N goes from point N to point N + 1.
double com.cartotype.NearestSegmentInfo.iNearestPointX |
The X coordinate of the point in the segment's path nearest to the other point, in map coordinates.
double com.cartotype.NearestSegmentInfo.iNearestPointY |
The Y coordinate of the point in the segment's path nearest to the other point, in map coordinates.
int com.cartotype.NearestSegmentInfo.iSegmentIndex |
The index of the segment in the Route object, or -1 if there were no segments.
double com.cartotype.NearestSegmentInfo.iTimeAlongRoute |
The estimated time of the nearest point, along the route, in seconds.
double com.cartotype.NearestSegmentInfo.iTimeAlongSegment |
The estimated time within the current segment, in seconds.