getScreenCoordinates()

Returns the current screen position of a location on the map.

Synopsis

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

Parameter

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

Description

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

Assignment

Maps Widget

See also

getMapCoordinates(), isPositionVisible()