More intelligent webpopup position
completed by: Levente Kurusa
mentors: Torsten Rahn, René Küttner, Andrei Dorian Duma, Utku Aydın, Dennis Nienhüser
Marble is a virtual globe and world atlas — your Swiss army knife for maps. Find your way and explore the world!
Clicking on a placemark opens the web popup, a QWebView showing information about the place. Its size and position are not optimal when the Marble window is small. The main reason is that the map is centered on the placemark and the popup is aligned to the right of it. Instead the map should be positioned such that the placemark becomes positioned horizontally towards the left side of the window and vertically centered as before. Note that this should also work for spherical projection.