如何使用“地图:”打开Goog​​le地图应用程序方案? [英] How to open Google maps application using the "maps:" scheme?

查看:101
本文介绍了如何使用“地图:”打开Goog​​le地图应用程序方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我正在制作一个网络应用程序,而不是iPhone应用程序。




你如何打开谷歌地图应用程序的位置传递给它,所以你可以在应用程序中查看它?



我把它作为一个链接:

 < a href =maps:58.09423,67.97662>在Google地图中打开< / a> 

它打开Goog​​le地图应用程序,但它不会根据请求缩放到带有标记的地方,我该如何做到这一点?

解决方案

基于

pre> < a href =http://maps.google.com/maps?ll=58.09423,67.97662>在Google地图中打开< / a>


Firstly, I'm making a web application, not an iPhone application.


How do you open the Google maps application with a location passed to it so you can view it on the app?

I put this as a link:

<a href="maps:58.09423,67.97662">Open in Google Maps</a>

It does open the Google Maps application but it doesn't zoom into the place with a marker as requested, how do I do this?

解决方案

Based on the Apple docs, I believe what you are looking for is:

<a href="http://maps.google.com/maps?ll=58.09423,67.97662">Open in Google Maps</a>

这篇关于如何使用“地图:”打开Goog​​le地图应用程序方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆