Hi,
I have Added 3 overlays to Map1.CustomOverlays. The first overlay is an instance of LayerOverlay which is set to be the baseoverlay; the second and the third overlays are each an instance of SimpleMarkerOverlay; On the second and third overlay, I create popups over the markers triggered by mouseover event. There's no problem for me to show all 3 overlays (overlappigng each other). When all 3 overlays get loaded up the first time.. the popups for both second and third overlays work fine. However, the problem I am encountering is that, after I do some operation on the Third overlay.. such as removing the markers from the third overlay.. the mouseover popups for the markers in the second overlay don't show anymore. .. that sometimes happens to the third overlay (mouseover popups not working) after I do some operation no the second overlay..
so when I operate on the second or third overlay (e.g. removing markers from each overlay) my javascript does this: var olMap = Map1.GetOpenLayersMap(); var tripMarkerOverlay = olMap.getLayer("...MarkerOverlay"); Is this why that's happening because the current overlay changes and the mouseover popups follow each specific overlay?
Hope you understand what I am talking about... Could you tell me why that's happening and how I can fix it?
Thanks a lot!
Roson