为什么谷歌地图“q”参数停止工作? [英] Why has google maps "q" parameter stopped working?

查看:143
本文介绍了为什么谷歌地图“q”参数停止工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个应用程序,它启动谷歌地图以显示使用以下链接形式的位置(按照SO 的建议):

We have an app which launches google maps to display a location using the following form of link (as per the recommendations on SO):

http://maps.google.co.uk/maps?q=loc:52.03877,-2.3416&z=15

但由于某些原因,我并没有将该地址指向该纬度/经度,而是将google地图指向点数我在伍斯特而不是马尔文附近的Hollybush。

For some reason though, instead of pointing me at that lat/lon, google maps now points me at Worcester instead of Hollybush near Malvern.

改变了吗? ..如果是这样,做什么我们曾经做过的正确方法是什么?

Has the google maps API changed? ..and if so, what is the correct way to do what we used to do?

推荐答案

有点实验表明以下作品(请注意添加'@'符号):

A bit of experimentation suggests the following works (note the addition of the '@' symbol):

http://maps.google.co.uk/maps/place/52.03877,-2.3416/@52.03877,-2.3416,15z/data=!3m1!1e3

有关此处的更多信息在SO 上。

这篇关于为什么谷歌地图“q”参数停止工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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