AI-generated Key Takeaways
-
This section defines the JSON representation of a loop, which is a simple spherical polygon on a map.
-
A loop is composed of a single chain of vertices, with the first vertex connected to the last.
-
The JSON object representing a loop contains a single field named
vertices
, which is an array ofLatLng
objects. -
The
vertices
field is required and represents the coordinates of the loop's vertices.
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 ( |
Fields | |
---|---|
vertices[] |
Required. The vertices of the loop. |