Hi

I have a map (which is a bit of a mashup) showing pub location icons
on the map, and their names in the sidebar. These are defined by the
map bounds - as you zoom in/out or move the map, icons/names appear
and disappear. The data is contained in a marker file.

I had a problem that when no pubs were defined by the bounds, the
sidebar did not clear as the map was zoomed although the icons were
cleared using map.clearOverlays() in the function parseXML(xmlDoc)
.
Having searched Google, I found some info which said that this could
be fixed by clearing the side_bar div. After some experimenting I
added this in the function - side_bar.innerHTML=""; which works OK in
IE7 but produces a side_bar not defined error in Foxpro 3.6. Is there
a better way to clear the names from the side_bar div or am I doing it
wrong?

The site can be found here: http://www.railuk.info/maps/spoonsmap.php

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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.

Reply via email to