Not exactly what you want, but you can try this. Open Maps to turn on gps and close it to turn off. Once you reach your destination simply close the maps app and gps will turn off automatically after 2 minutes. You can edit the list of apps as you see fit.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?