1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00

Added public "GetFromLocalToLatLng" function to allow widget point to lat/lon coord conversion.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1925 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
pip 2010-10-09 10:09:49 +00:00 committed by pip
parent 9a90a124fd
commit c75628c018

View File

@ -244,6 +244,8 @@ namespace mapcontrol
void SetFollowMouse(bool const& value){followmouse=value;this->setMouseTracking(followmouse);}
bool FollowMouse(){return followmouse;}
internals::PointLatLng GetFromLocalToLatLng(QPointF p) {return map->FromLocalToLatLng(p.x(),p.y());}
/**
* @brief Creates a new WayPoint on the center of the map
*