How to add a business/“default” location marker and infoWindow to Google Maps (v3)

后端 未结 1 886
-上瘾入骨i
-上瘾入骨i 2020-12-20 03:36

Is is possible to add a business location marker WITH IT\'S \"DEFAULT\" INFOWINDOW bubble like the ones in maps.google.com?

I\'m making a contact page for a a comp

相关标签:
1条回答
  • 2020-12-20 04:01

    There is no built-in method to create such an infoWindow with the desired content automatically.

    That's the nature of an API, it has to offer the ability to create an application, but must not create an application automatically.

    You have to create the infoWindow on your own by using e.g. the implemented infoWindow-object.

    The contents of the infoWindow you also must collect on your own, you may retrieve the details for a place by using a Place-Details-Request

    0 讨论(0)
提交回复
热议问题