getMapCoordinates()

Returns the current map coordinates for a specified position on the panel..

Synopsis

bool getMapCoordinates(int xPos, int yPos, float& latitude, float& longitude)

Parameter

Parameter Description
xPos X-Coordinate on the panel
yPos Y-Coordinate on the panel
latitude Latitude of the location.
longitude Longitude of the location.

Description

This function gets the current map coordinates of the Maps EWO at the specified screen location. It returns false in case of an error, otherwise true.

Assignment

Maps Widget

See also

getScreenCoordinates(), isPositionVisible()