On Nov 23, 1:08 pm, Gil <[EMAIL PROTECTED]> wrote: > On my map, I have a lot of markers that show up when the map loads, > but I have the side bar all unchecked. How can I stop all the markers > from showing until any colored marker in the side bar is selected.
http://www.geocities.com/gilbert_fogoros/ This is the line in createMarker that is adding the maker to the map and making it visible: map.addOverlay(marker); If you don't want any markers to show on initial load, remove it. The "Markers" function will display them when the box is checked. Warning: some browsers remember the state of the check boxes when you refresh the page, removing an overlay that hasn't been added to the map, or re-adding an overlay that has already been added to the map may yield strange behavior. -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
