Polyline (Automotive)

Encapsulates an encoded polyline.

JSON representation
{

  // 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.
}
Fields
Union field polyline_type. Encapsulates the type of polyline. Defaults to encoded_polyline. polyline_type can be only one of the following:
encodedPolyline

string

The string encoding of the polyline using the polyline encoding algorithm

geoJsonLinestring

object (Struct format)

Specifies a polyline using the GeoJSON LineString format.