In Windows Phone 8 I want to open the native maps app to the users current location.
The closest I came to this was the MapsTask. The description makes me believe it's perfect:
Allows an application to launch the Maps application centered at the location specified with the Center property or at the user’s current location. If SearchTerm is set, locations matching the search term are tagged on the map.
If you don't supply a Center, it uses the users current location. Perfect! But if you don't supply a center, and don't supply a SearchTerm, it throws an exepction (by design).
So I have to supply a SearchTerm. But if I put something that isn't local to the user, I get a popup that says "No Results: We couldn't find any matches for your search. Try a different spelling or search term".
Now I could get the users location myself and launch the map with that location, but that feels wrong considering the Maps App already does it for you. Any ideas?