google-maps-documentation

Point class

google.maps.Point class

Constructor
Point
Point(x, y)
Parameters: 
  • xnumber
  • ynumber
A point on a two-dimensional plane.
Methods
equals
equals(other)
Parameters: 
Return Value:  boolean
Compares two Points
toString
toString()
Parameters:  None
Return Value:  string
Returns a string representation of this Point.
Properties
x
Type:  number
The X coordinate
y
Type:  number
The Y coordinate