Last active
September 10, 2020 10:04
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/apache/cordova-plugin-inappbrowser | |
cordova plugin add cordova-plugin-inappbrowser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see two options one is
data-rel="external"
and the othertarget="_system"
is there any difference using either?