A Polygon geometry contains a number of Data.LinearRing
s.
The first linear-ring must be the polygon exterior boundary and
subsequent linear-rings must be interior boundaries, also known as holes.
See the sample
polygon with a hole.
Access by calling const {Data} = await google.maps.importLibrary("maps")
. See
https://developers.google.com/maps/documentation/javascript/libraries.
Returns an array of the contained Data.LinearRing
s. A new
array is returned each time getArray()
is called.
Returns the n
-th contained Data.LinearRing
.
Returns the number of contained Data.LinearRing
s.
Returns the string "Polygon"
.
Generated using TypeDoc
A Polygon geometry contains a number of
Data.LinearRing
s. The first linear-ring must be the polygon exterior boundary and subsequent linear-rings must be interior boundaries, also known as holes. See the sample polygon with a hole.Access by calling
const {Data} = await google.maps.importLibrary("maps")
. See https://developers.google.com/maps/documentation/javascript/libraries.