如何链接到具有特定经度和纬度的Google地图? [英] How do I link to Google Maps with a particular longitude and latitude?

查看:92
本文介绍了如何链接到具有特定经度和纬度的Google地图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小应用程序给出当前位置:经度和纬度。
现在我必须浏览具有经度和纬度的谷歌地图。
请建议我如何做到这一点。

解决方案

对于带有标记的地图(通过aaronm 的评论):

https://www.google.com/maps/?q=-15.623037,18.388672



对于一个较老的例子(这个没有标记):

https://www.google.com/maps/preview/@-15.623037,18.388672,8z <

$ p










//maps.google.com/maps?ll=-15.623037,18.388672&spn=65.61535,79.013672rel =noreferrer> http://maps.google.com/maps?ll=-15.623037,18.388672& spn = 65.61535,79.013672

I have a small application that gives the current location: longitude and latitude. Now I have to browse to google maps with the longitude and latitude. Please suggest how I can do this.

解决方案

This for a map with the marker (via aaronm's comment):

https://www.google.com/maps/?q=-15.623037,18.388672

For an older example (no marker on this one):

https://www.google.com/maps/preview/@-15.623037,18.388672,8z

The oldest format:

http://maps.google.com/maps?ll=-15.623037,18.388672&spn=65.61535,79.013672

这篇关于如何链接到具有特定经度和纬度的Google地图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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