google-maps-documentation

Data.Point class

google.maps.Data.Point class

A Point geometry contains a single LatLng.

This class implements Data.Geometry.

Constructor
Data.Point
Data.Point(latLng)
Parameters: 
Constructs a Data.Point from the given LatLng or LatLngLiteral.
Methods
forEachLatLng
forEachLatLng(callback)
Parameters: 
  • callbackfunction(LatLng)
Return Value:  None
get
get()
Parameters:  None
Return Value:  LatLng
Returns the contained LatLng.
getType
getType()
Parameters:  None
Return Value:  string
Returns the string "Point".