OK, I got it! :/
I have this function that shows/hides markers by their display type...
// This function is called by the user clicking on a TYPE CONTROL
function setMarkersByType(type)
{
// Wipe the map first, clears all markers in one fell swoop!
map.clearOverlays();
// Place Indicators for this 'type' "on the board"
gMarkers[type]['indicators'].display('indicators');
// Now put back just the markers for this 'type'
// Loop through the "active" indicators
for ( i in gMarkers[type]['indicators'].levels )
{
if ( gMarkers[type]['indicators'].levels[i].state == 'on' )
setMarkers( gMarkers[type]['indicators'].levels[i].name,
'on');
}
};
Seems the 'clearOverlay()' method call was doing more than I thought
it was! :(
Don't know why I noticed this or thoght of this as a solution but, I
simpled added...
// Put back the eWindow Overlay
map.addOverlay(ew);
after the 'clearOverlay()' call, which put the eWindow overlay back on
the map, and now everything works great!
Thanks for listening.
Walter
PS: as for a link, I thought about that, but I have data that the
client doesn't want show just yet. I should have used dummy data to
develop this, but... thanks anyway.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---