SiteWatch API Help

yToWinY

yToWinY

Previous topic Next topic  

yToWinY

Previous topic Next topic  

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

 

Parameter

Value

y: number

isn93 y-coordinate.

 

Return

Value

position: integer

A y pixel position on canvas relating to input y.

 

Example:

var position = customCanvas.yToWinY();