Reputation: 23
I'm making an application that needs map links opening in default maps application... Can anybody help me. This is my current problematic code.
<a href="maps:q=Location" onClick="window.open('geo:0,0?q=Location', '_system');">
This creates errors in Android when I return to the application.
Upvotes: 0
Views: 218
Reputation: 23
<a onclick="window.open('http://maps.apple.com/maps?q=Place','_system','location=no');" href="geo:0,0?q=Place">Directions to Place</a>
Upvotes: 1
Reputation: 3359
Try this:
<a href="http://maps.apple.com/maps?q=21.551464, 73.951399">
Open Maps
</a>
Reference : Open google maps from hyperlink
Hope this may help you
Upvotes: 1