google.maps.Data.Geometry
interface
A superclass for the various geometry objects.
| Methods | |
|---|---|
forEachLatLng |
forEachLatLng(callback)Parameters:
Return Value: None
Repeatedly invokes the given function, passing a point from the geometry to the function on each invocation. |
getType |
getType()Parameters: None
Return Value:
stringReturns the type of the geometry object. Possibilities are "Point", "MultiPoint", "LineString", "MultiLineString", "LinearRing", "Polygon", "MultiPolygon", or "GeometryCollection". |