SiteWatch API Help

xToWinX

xToWinX

Previous topic Next topic  

xToWinX

Previous topic Next topic  

A method that returns a x pixel position on custom canvas representing the lat location from ISN93.

 

Parameter

Value

x: number

isn93 x-coordinate.

 

Return

Value

position: integer

A x pixel position on canvas relating to input x.

 

Example:

var position = customCanvas.xToWinX();