CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
|
Public Attributes | |
int | iRoadType |
double | iMaxSpeed |
String | iName |
String | iRef |
double | iNearestPointX |
double | iNearestPointY |
double | iDistance |
double | iHeadingInDegrees |
double | iHeadingVectorX |
double | iHeadingVectorY |
Information about the nearest road to a certain point. It is returned by Framework.getNearestRoad.
double com.cartotype.NearestRoadInfo.iDistance |
The distance from the chosen point to iNearestPoint in meters.
double com.cartotype.NearestRoadInfo.iHeadingInDegrees |
The heading of the nearest segment in degrees.
double com.cartotype.NearestRoadInfo.iHeadingVectorX |
The x coordinate of the heading of the nearest segment as a unit vector.
double com.cartotype.NearestRoadInfo.iHeadingVectorY |
The x coordinate of the heading of the nearest segment as a unit vector.
double com.cartotype.NearestRoadInfo.iMaxSpeed |
The maximum legal speed in kilometres per hour. A value of zero means there is no known speed limit, or the standard speed limit for the type of road applies.
String com.cartotype.NearestRoadInfo.iName |
The standard name of the road.
double com.cartotype.NearestRoadInfo.iNearestPointX |
The x coordinate of the nearest point on the road, in map coordinates, to the chosen point.
double com.cartotype.NearestRoadInfo.iNearestPointY |
The y coordinate of the nearest point on the road, in map coordinates, to the chosen point.
String com.cartotype.NearestRoadInfo.iRef |
The road reference of the road.
int com.cartotype.NearestRoadInfo.iRoadType |
The road type of the arc.