-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using maker and drawing points #14
Comments
Hi, Glad that you have found this code helpful. The easiest way might be to write a class which inherits MapGraphicsView and overrides the virtual mouse-handling events in that class. There is an example of this in another one of my projects (which consumes this project) here: https://github.com/raptorswing/FlightPlanner/tree/UserStudy/WaypointPlanner/gui See the "WaypointMapView" class. Hopefully this helps. |
Hi, Yes, it's definitely possible to add custom markers for a series of points. It looks like you've experimented with the PolygonObject provided in MapGraphics. This may not be the best choice for representing the flight path of a UAV since PolygonObject will always make a loop. When I was working on a similar effort I represented a UAV's flight path as a series of connected LineObject objects. I used a wrapper class to manage the LineObjects based on inputs (adding a new waypoint, deleting a waypoint, moving a waypoint, etc.). These might be helpful as examples: In fact, you might be able to get some reuse in general out of the WaypointPlanner sub-project here: https://github.com/raptorswing/FlightPlanner/tree/UserStudy . If you build the top-level FlightPlanner project you should be able to run WaypointPlanner and get some context. |
hi.
it's not actually an issue . after a lot searching i found your code vary suitable for my job because,
1- it can saves the tiles and use the map without network.
2- it's simple
3- it's written in c++ and Qt(my code is in Qt too)
so, is there any possibility i can
1- use marker when i double click some where in map .??
2- draw some color points in map with it's coordinate ??
ow can i get the coordinate of the point in map where i double click on it ??
any help would be great.
thanks in advance.
MA.
The text was updated successfully, but these errors were encountered: