简体   繁体   中英

Open native google maps from cordova app

The front end of the app is angularjs and I would like to open a native google maps application when the user clicks the following link.

<a class="google-map" href="http://maps.google.com/maps?saddr=sydney&daddr=melbourne">Navigate</a>

The link opens maps in a mobile browser but I want to open native google maps.

How can I achieve this?

There is a plug-in for IOS and Android that allows to call native Google maps:

https://github.com/wf9a5m75/phonegap-googlemaps-plugin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM