Open and Close InfoWindow onclick

后端 未结 3 584
失恋的感觉
失恋的感觉 2021-01-26 11:00

Can anyone help me code inside my eventListener so that an infowindow will do the following: open if it\'s currently closed, and close if it\'s currently open.

I\'ve

3条回答
  •  情话喂你
    2021-01-26 11:40

    Try first close infow window, and then get click to open again:

    
    

    For more information visit the source code from this url:

    • http://gmaps-samples-v3.googlecode.com/svn/trunk/single-infowindow/single-infowindow.html

提交回复
热议问题