google.maps.Data.Geometry interface
A superclass for the various geometry objects.
Methods
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.
getType()
Parameters: None
Return Value: string
Returns the type of the geometry object. Possibilities are "Point", "MultiPoint", "LineString", "MultiLineString", "LinearRing", "Polygon", "MultiPolygon", or "GeometryCollection".