Google地图本地应用程序 - 地图链接 [英] Google Maps Native App - Map Links

查看:157
本文介绍了Google地图本地应用程序 - 地图链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从移动网站上的移动设备上打开本地Google地图应用程序。目前我使用的是 http://maps.google.com/maps?q=The%20Diner,%2027%20Main%20Street,%20The%20Village%20@55.7665863,-4.1455545 ,它适用于一个位置。

我正在寻找的是使用不同颜色的标记显示多个位置。这是可能的。

解决方案

当我使用非安全网址并发布邮编列表时,可以通过添加另一个+来添加更多邮编:

http://maps.google.com/maps?f=d&source=embed&saddr=LD7+1EN&daddr=CH1+3AE+to:AB12+3AX&



还没有真正试过让它使用不同的颜色或任何东西来做不同的标记,但是我建议你在google maps中查看你的浏览器生成的url,并确保它不是https:/链接,我认为它应该工作。


I want to open the native google maps application on a mobile device from my mobile website. Currently I am using the URL http://maps.google.com/maps?q=The%20Diner,%2027%20Main%20Street,%20The%20Village%20@55.7665863,-4.1455545, which works for one location.

What I am looking to do is show multiple locations with a different coloured marker. Is this possible.

解决方案

Well i found when you use the non-secure url and post a list of postcodes it works fine you can add more postcodes by adding another +to: ;

http://maps.google.com/maps?f=d&source=embed&saddr=LD7+1EN&daddr=CH1+3AE+to:AB12+3AX&

havent really tried to make it do different markers with different colors or anything, but i suggest looking at the url generated by your browser in google maps and ensuring its not a https:/ link and i think it should work.

这篇关于Google地图本地应用程序 - 地图链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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