google.maps.Data.MultiPoint
class
A MultiPoint geometry contains a number of LatLngs.
This class implements
Data.Geometry.
| Constructor | |
|---|---|
Data.MultiPoint |
Data.MultiPoint(elements)Parameters:
Constructs a Data.MultiPoint from the given LatLngs or LatLngLiterals. |
| Methods | |
|---|---|
forEachLatLng |
forEachLatLng(callback)Parameters:
Return Value: None
|
getArray |
getArray()Parameters: None
Return Value:
Array<LatLng>Returns an array of the contained LatLngs. A new array is returned each time getArray() is called. |
getAt |
getAt(n)Parameters:
Return Value:
LatLngReturns the n-th contained LatLng. |
getLength |
getLength()Parameters: None
Return Value:
numberReturns the number of contained LatLngs. |
getType |
getType()Parameters: None
Return Value:
stringReturns the string "MultiPoint". |