How do I specify a marker in a url using a name and lat/long for the new Google Maps?

拈花ヽ惹草 提交于 2019-12-13 16:54:58

问题


I tried generating a url as per the answer by Everton Cunha here: What parameters should I use in a Google Maps URL to go to a lat-lon? i.e.

http://maps.google.com/?q=MY%20LOCATION@lat,long

This works for me in Google Maps in what is now called "Classic Mode", but in the new Google Maps, it places a marker, displays the lat/long next to it, and the marker does not display any information when I click on it, and the nearest address appears in the search box. I need a url that places the marker at the specified lat/long, and also includes some text describing what the marker is.

来源:https://stackoverflow.com/questions/18434820/how-do-i-specify-a-marker-in-a-url-using-a-name-and-lat-long-for-the-new-google

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!