开发者

How to show Google Local business marker and InfoWindow in custom Google Map?

开发者 https://www.devze.com 2023-01-14 10:25 出处:网络
I want to show the location of my business on my website using google maps. Instead of creating the marker, infowindow, etc... by hand, I would like to reuse the one found in Google Local business lis

I want to show the location of my business on my website using google maps. Instead of creating the marker, infowindow, etc... by hand, I would like to reuse the one found in Google Local business listings.

For instance, this business could use this map. The advantages are numerous : it is already done, it will be updated when you update the listing, it has directions, etc...

Does anybody know how to do that using th开发者_运维问答e JavaScript API (v3) ? I could obviously use the iframe code they provide, but I would love having a bit more control on the result, especially the controls.


You can't. You can either use the embed as is, or build a custom map using the JavaScript API.

0

精彩评论

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