Skip to content

Latest commit

 

History

History
76 lines (39 loc) · 1.62 KB

Data.MultiPoint.md

File metadata and controls

76 lines (39 loc) · 1.62 KB

See html formatted version

Data.MultiPoint class

google.maps.Data.MultiPoint class

A MultiPoint geometry contains a number of LatLngs.

This class implements Data.Geometry.

Constructor

undefined

Data.MultiPoint(elements)

Parameters: 

Constructs a Data.MultiPoint from the given LatLngs or LatLngLiterals.

Methods

undefined

forEachLatLng(callback)

Parameters: 

  • callback:  function(LatLng)

Return Value:  None

undefined

getArray()

Parameters:  None

Return Value:  Array<LatLng>

Returns an array of the contained LatLngs. A new array is returned each time getArray() is called.

undefined

getAt(n)

Parameters: 

  • n:  number

Return Value:  LatLng

Returns the n-th contained LatLng.

undefined

getLength()

Parameters:  None

Return Value:  number

Returns the number of contained LatLngs.

undefined

getType()

Parameters:  None

Return Value:  string

Returns the string "MultiPoint".