Point

Point

new Point(x, y)

Source:

A standalone point geometry with useful accessor, comparison, and modification methods.

Example
var point = new Point(-77, 38);
Parameters:
Name Type Description
x Number

the x-coordinate. this could be longitude or screen pixels, or any other sort of unit.

y Number

the y-coordinate. this could be latitude or screen pixels, or any other sort of unit.