I think it depdnds on the URL you pass, and it's a bit pedantic about it This might help: https://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MapLinks.html
On Mon, Jul 2, 2012 at 7:47 PM, Chris_M <[email protected]> wrote: > > 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 -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
