SiteWatch API Help

create

create

Previous topic Next topic  

create

Previous topic Next topic  

A method to create a point object.

 

Parameter

Value

x: number

x-coordinate.

y: number

y-coordinate.

 

Return

Value

object:

A point set object (SWPoint).

 

Example:

var point = SWPoint.create(359583, 406481);