Skip to content

Latest commit

 

History

History
76 lines (39 loc) · 1.67 KB

Data.MultiLineString.md

File metadata and controls

76 lines (39 loc) · 1.67 KB

See html formatted version

Data.MultiLineString class

google.maps.Data.MultiLineString class

A MultiLineString geometry contains a number of LineStrings.

This class implements Data.Geometry.

Constructor

undefined

Data.MultiLineString(elements)

Parameters: 

Constructs a Data.MultiLineString from the given Data.LineStrings or arrays of positions.

Methods

undefined

forEachLatLng(callback)

Parameters: 

  • callback:  function(LatLng)

Return Value:  None

undefined

getArray()

Parameters:  None

Return Value:  Array<Data.LineString>

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

undefined

getAt(n)

Parameters: 

  • n:  number

Return Value:  Data.LineString

Returns the n-th contained Data.LineString.

undefined

getLength()

Parameters:  None

Return Value:  number

Returns the number of contained Data.LineStrings.

undefined

getType()

Parameters:  None

Return Value:  string

Returns the string "MultiLineString".