diff --git a/ground/src/libs/opmapcontrol/src/mapwidget/opmapwidget.h b/ground/src/libs/opmapcontrol/src/mapwidget/opmapwidget.h index 8df614a0a..302be2731 100644 --- a/ground/src/libs/opmapcontrol/src/mapwidget/opmapwidget.h +++ b/ground/src/libs/opmapcontrol/src/mapwidget/opmapwidget.h @@ -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 *