开发者

url parameter to open google maps infowindow on load?

开发者 https://www.devze.com 2023-02-15 12:24 出处:网络
i have a series of links to specific addresses on google maps. several of these addresses have markers with an infowindow. is there any query parameter i can add to the urls to automatically open this

i have a series of links to specific addresses on google maps. several of these addresses have markers with an infowindow. is there any query parameter i can add to the urls to automatically open this infowindow on load?

currently i'm my hrefs look like this:

http://maps.google.com/?q=business name 15 main st., c开发者_StackOverflow社区ity, state


You can do this by adding iwloc=A to the query string. The "A" represents the marker letter on the map.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号