Polyline (Automotive)

יוצרת פוליגון מקודד.

ייצוג 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.
}
שדות
שדה איחוד polyline_type. מחזירה את סוג הקו polyline. ברירת המחדל היא code_polyline. הערך של polyline_type יכול להיות רק אחת מהאפשרויות הבאות:
encodedPolyline

string

קידוד המחרוזת של הקו מרובה באמצעות אלגוריתם הקידוד של polyline

geoJsonLinestring

object (Struct format)

מציינת קו פוליגוני באמצעות פורמט GeoJSON LineString.