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:
parent
9a90a124fd
commit
c75628c018
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user