问题描述
在iPhone上,maps.google.com表单的链接由每个iPhone上安装的Google地图应用打开。 (请参阅:) p>
maps.google.com的移动网站支持比本地地图应用更多的功能(如转接层)。
这里有一个示例链接在地图应用程序中打开,我宁愿通过移动Safari打开:
使用https而不是http。
编辑:
您也可以自行解析域名,然后使用IP地址。 b
On the iPhone, links of the form maps.google.com are opened by the google maps app, which is installed on every iPhone. (see: Apple URL scheme reference)
The mobile site of maps.google.com supports more functionality than the native maps app (like the transit layer).
Is there a way to formulate an html link that would cause safari to open the maps link in the browser instead of launching the native maps app?
Here's an example link that opens in the Maps App that I'd rather have opened by mobile Safari:
http://maps.google.com/maps?q=boston&lci=transit_comp
use https instead of http.
https://maps.google.com/maps?q=boston&lci=transit_comp
EDIT:
You could also resolve the domain name yourself then use the IP address.
http://173.194.34.165/maps?q=boston&lci=transit_comp
这篇关于iPhone HTML链接到maps.google.com,它在Mobile Safari中打开页面,而不是Maps App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!