[英]How can I reinit or clear google maps infowindow cache
I have created a nested carousel inside of a gmaps infowindow, the top level carousel keeps track of all of the nested slides.我在 gmaps 信息窗口内创建了一个嵌套的轮播,顶级轮播跟踪所有嵌套的幻灯片。 It works perfect on the first infowindow instance, but when I click another marker and when the next infowindow opens the count is based off of the previous infowindow..
它在第一个 infowindow 实例上运行良好,但是当我单击另一个标记并且下一个 infowindow 打开时,计数基于前一个 infowindow ..
is there a way to destory the last instance of the infowindow?有没有办法销毁信息窗口的最后一个实例?
修复了这个问题,不得不将事件侦听器更改为仅 addListenerOnce。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.