For my map for mobile application I want to have the following functions:
1. map a static object designated marker;
2. the user has a button when clicked on can determine its current geolocation;
3. also have a button for the user get direktions.
I found some code for all combinations of these positions but they do not work. Is there a common code?