location_to_widget_coords


Description:

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

Gets the position on widget that correspond to the given latitude and longitude.

Parameters:

this

a Viewport

widget

a Widget that uses this as viewport

latitude

the latitude

longitude

the longitude

x

return value for the x coordinate

y

return value for the y coordinate