How to show Google Local business marker and InfoWindow in custom Google Map?
-
26-09-2019 - |
문제
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 the 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.
제휴하지 않습니다 StackOverflow