Skip to content

Instantly share code, notes, and snippets.

@mrzmyr
Last active September 10, 2020 10:04
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save mrzmyr/977fc7d8bee58db9d96f to your computer and use it in GitHub Desktop.
Save mrzmyr/977fc7d8bee58db9d96f to your computer and use it in GitHub Desktop.
Launching external maps applications (Ionic, Google Maps, Apple Maps) on Android and iOS
<!-- https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html -->
<a href="maps://?q=dallas" data-rel="external">iOS launch in apple maps</a>
<!-- https://developers.google.com/maps/documentation/ios/urlscheme -->
<a href="comgooglemaps://?q=dallas" data-rel="external">iOS launch in google maps</a>
<a href="geo://0,0?q=dallas" data-rel="external">Android launch in google maps</a>
# https://github.com/apache/cordova-plugin-inappbrowser
cordova plugin add cordova-plugin-inappbrowser
@vla47
Copy link

vla47 commented Dec 9, 2015

how to add saddr daddr query params

@valterh4ck3r
Copy link

the only parameter that i know, is q of Query... use your search in parameter... that's all..

@davidwwu
Copy link

davidwwu commented Jun 4, 2017

I see two options one is data-rel="external" and the other target="_system" is there any difference using either?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment