Google Maps Question

I have seen several apps that, at the click of a button, launches the Google Maps application within IOS and usually pin points an address. Is this possible from Corona? I ask because the Google Maps has a “Directions” feature that the embedded maps API does not. So I would love to send the user straight to the Google Maps app and go from there. [import]uid: 69863 topic_id: 18420 reply_id: 318420[/import]

That would be a no. The Corona SDK simply included the ability to show a Map image. [import]uid: 46343 topic_id: 18420 reply_id: 70706[/import]

You can send users to the maps app in iOS devices but it works a little different than you might think.

I use this to open maps app to display directions between point A to point B. You have to do some reverse geocoding to make this work but here’s the url.

openURL = function(event)  
system.openURL("http://maps.google.com/maps?daddr=" .. destCity .. "+" .. destStreet .. "+" .. destStreetDetail .. ",&saddr=" .. cityName .."+" .. streetName .."+"..streetDetail)  
end  

Check the documents on how to geocode and use maps and gps. I hope we get some way to have our own navigation inside our Corona apps soon. [import]uid: 13560 topic_id: 18420 reply_id: 80500[/import]