Polyline (Automotive)

Encapsule une polyligne encodée.

Représentation JSON
{

  // Union field polyline_type can be only one of the following:
  "encodedPolyline": string,
  "geoJsonLinestring": {
    object
  }
  // End of list of possible types for union field polyline_type.
}
Champs
Champ d'union polyline_type. Encapsule le type de polyligne. La valeur par défaut est coded_polyline. polyline_type ne peut être qu'un des éléments suivants :
encodedPolyline

string

Encoder la chaîne de la polyligne à l'aide de l'algorithme d'encodage des polylignes

geoJsonLinestring

object (Struct format)

Spécifie une polyligne au format GeoJSON LineString.