PolylinePoint Data Response

This object contains a polyline point that can be rendered as a route in a map display. This is a GPS coordinate represented by latitude and longitude point.

Unlike other data in this service, short names are provided for latitude and longitude. The polyline object format is designed to match the "lat" and "lng" format used for display by Google Maps with no extra transformation required. This data is then extended with the distance of each point from the terminal point on the route.

Note: A large collection of these points can cause noticeable performance delay if the labels require converting in frontend processing.


Properties

lat float
The latitude of the generated point along the polyline.
lng float
The longitude of the generated point along the polyline.
distance float
The calculated distance remaining of this point from the terminal point of the route. (Units: Feet or meters)

Sample output

{
  "lat": 41.875563,
  "lng": -87.624336
}