RouteEndpoint
One end of a route — supply either hex or point, not both.
hexstring
AfriHex code at resolution 7
Example:
AF-GH-7-0GXTJJB0ZZZZZpoint object
Raw coordinate
lngnumber<double>
Example:
-0.1867latnumber<double>
Example:
5.604headinginteger
Device compass bearing in degrees (0 = north). On dual-carriageway roads it disambiguates which carriageway the endpoint snaps to, so routes don't begin with a phantom U-turn. Omit when unknown.
Possible values: >= 0 and <= 359
Example:
270RouteEndpoint
{
"hex": "AF-GH-7-0GXTJJB0ZZZZZ",
"point": {
"lng": -0.1867,
"lat": 5.604
},
"heading": 270
}