I have a button in my app that is the intended to launch a specific location
(GPS coordinates) in the Google Maps app (I know, later I'll change it to
launch Apple Maps, but my stakeholders are insistent on doing it this way
for now). I wrote some code that puts together an appropriate Google Maps
URL and then uses the NSUrl methodology to launch Google Maps with the
correct location pinned. It works great, except that what happens is that
when you tap the map button, Safari starts to launch and *then* the Google
Maps app launches. 

I think this makes sense. I'm passing a url to NSUrl, so naturally Safari
starts to launch, and then Safari's default behavior when passed a Google
Maps address is to launch the Google Maps app. I don't think it's a big
deal, but the split second where Safari almost launches bothers my
stakeholders. 

Is there a way I can launch Google Maps and pass it GPS coordinates from
within my app *without* having Safari try to launch first? 


--Chris


--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Opening-a-GPS-location-in-the-Google-Maps-app-tp4655724.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to