Polyline

An encoded polyline representation of a route or step

EnvironmentGeocodingGeolocationMapsNavigationPlacesRoutingSolar

Properties

Name Type Description
points string An encoded polyline string using the Encoded Polyline Algorithm. Decode to obtain a series of lat/lng coordinates.
View JSON Schema on GitHub

JSON Schema

google-maps-directions-polyline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polyline",
  "type": "object",
  "description": "An encoded polyline representation of a route or step",
  "properties": {
    "points": {
      "type": "string",
      "description": "An encoded polyline string using the Encoded Polyline Algorithm. Decode to obtain a series of lat/lng coordinates."
    }
  }
}