Hi all,
Our application presents a world map with several items (boats, etc) inside a QGraphicsScene and an associated view. All is fine but we would like to be able somehow to scroll the view infinitely, i.e. when you go right (east), the scene should be "circular" and continuous, and in the end should reshow the same position because you made a complete world round-trip.
We have been thinking of differents solutions, for instance having 2 scenes (one centered on meridian, the other on antemeridian) and to switch from one to another "on the fly"... but it seems a bit heavy to say the less... (would imply also to duplicate all objects). Another idea would be to move everything in the scene and re-position the view whenever we reach a border, but again it seems a bit extreme...
Any clever idea about how to achieve this? Are we missing something obvious?
Thanks
Bookmarks