简体   繁体   中英

how to open apple map on Iphone5 phone gap

I already have developed a mobile app in phone gap and it is working fine in android and Iphone 4 because I am using google map to load the store's information. But in Iphone5, I can't open google maps and I dont know how to open Apple map instead. Can anyone help me please?

To open Apple Maps, the easiest way is using a HTML style link:

Open Maps:

<a href="http://maps.apple.com/">Open Apple Maps</a>

Open Maps with route:

<a href="http://maps.apple.com/?saddr=&daddr=">Open Route in Apple Maps</a>

Where saddr is the start address and daddr is the destination address. You can pass "Current%20Location" to use their current location

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