简体   繁体   English

如何在Iphone5手机上打开苹果地图

[英]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. 我已经开发了一款手机上的手机应用程序,它在android和iphone 4上都可以正常工作,因为我正在使用google map加载商店的信息。 But in Iphone5, I can't open google maps and I dont know how to open Apple map instead. 但是在Iphone5中,我无法打开Goog​​le地图,并且我不知道如何打开Apple地图。 Can anyone help me please? 谁能帮我吗?

To open Apple Maps, the easiest way is using a HTML style link: 要打开Apple Maps,最简单的方法是使用HTML样式链接:

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. 其中saddr是起始地址,daddr是目的地址。 You can pass "Current%20Location" to use their current location 您可以传递“ Current%20Location”以使用其当前位置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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