Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 857 Bytes

Data.Geometry.md

File metadata and controls

32 lines (17 loc) · 857 Bytes

See html formatted version

Data.Geometry interface

google.maps.Data.Geometry interface

A superclass for the various geometry objects.

Methods

undefined

forEachLatLng(callback)

Parameters: 

  • callback:  function(LatLng)

Return Value:  None

Repeatedly invokes the given function, passing a point from the geometry to the function on each invocation.

undefined

getType()

Parameters:  None

Return Value:  string

Returns the type of the geometry object. Possibilities are "Point", "MultiPoint", "LineString", "MultiLineString", "LinearRing", "Polygon", "MultiPolygon", or "GeometryCollection".