hey
i have a google map in my site and attach to it event handler of moveend
GEvent.addListener(map, "moveend", function()
{
map.clearovrelays();
GetLayerDataFromServer(); //it set the markers again on the map acording the map position
});
and also i have event handler for click on marker
GEvent.addListener(marker, 'click', function()
{
marker.openInfoWindowHtml('this is the data');
});
my problem is this
when user press on one of the marker on the map it open the openInfoWindowHtml of the related marker.
and it also move the map to that marker position and then it triggers the event map.moveend
and in the event map.moveend i am clear all the marker on the map and reload them according to the map new position
the result is that when user is click on marker it open for second his indoWindowHtml and the clear the map and load again the markers without showing the indoWindowHtml of the clicked marker.
my q is what shell i do in order to show the infoWindowHtml
?
than for all the replaying i hope u understand