widget_coords_to_location


Description:

public void widget_coords_to_location (Widget widget, double x, double y, out double latitude, out double longitude)

Gets the latitude and longitude corresponding to a position on widget.

Parameters:

this

a Viewport

widget

a Widget that uses this as viewport

x

the x coordinate

y

the y coordinate

latitude

return location for the latitude

longitude

return location for the longitude