Hi,I have function running interval every 1 second...why is that I already used the closure method,..After 5 minutes of waiting,my browser will
crash or get not responding If I click on a marker...can you help please me why this will always crash.
Thank you in advance.
function myfunction(){
for(var i=0;i<data.length;i++){
....
....
....
google.maps.event.addListener(marker, 'click', (function (marker, con, infowindow) {
return function () {
infowindow.setContent(con);
infowindow.open(map, marker);