GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: New Navigation FloatItem - Allow selection of the current position instead of the home position

completed by: Mohammed Nafees

mentors: Torsten Rahn, René Küttner, Dennis Nienhüser

The navigation item allows desktop users to return to a custom "home position":

http://devel-home.kde.org/~tackat/navimockup.png

In this task the popupmenu of the Navigation FloatItem should be extended by an additional entry:

"Current Location Button"

If this menu entry is chosen the "homebutton should be styled with these pixmaps instead of the home icon ones:

devel-home.kde.org/~tackat/navigational_currentlocation.tar.gz

A click on this button should now trigger the action of repositioning the map to the Current Position (received by GPS, etc.).

The popup menu entry changes to

"Home Button"

then. And a click on this menu entry would toggle back to the initial home icon styling, action-behavior and menu item text.