Loop

  • A loop is a simple spherical polygon represented on a map.

  • It consists of a single chain of vertices where the first vertex is connected to the last.

  • The JSON representation includes a required array of vertices, which are LatLng objects.

A loop on the map. Represents a simple spherical polygon. It consists of a single chain of vertices where the first vertex is implicitly connected to the last.

JSON representation
{
  "vertices": [
    {
      object (LatLng)
    }
  ]
}
Fields
vertices[]

object (LatLng)

Required. The vertices of the loop.