> As I have been developing my website I went from just the plain info
> window to adding tabbed info windows. Before I did this the check box
> functionality was working by turning the markers on and off. Since I
> have added the tabbed info windows the markers don't go away when the
> check box is clicked. Any help with this problem would be greatly
> appreciated.Here is the link for the website that shows how the check
> boxes are suppose to work:http://masgis.asu.edu/sandiego/testcheckbox2.html
> Here is the website that I am working on where the check boxes don't
> work:http://masgis.asu.edu/sandiego/index.html
Your checkBoxChange() routine checks for a property to see if ought to
remove markers -
if (marker.category == category) { ...
so it relies on that property being set up when new markers are
created.
Your newMarker() routine assigns some properties to the marker object
including this one -
marker.mycategory = category;
but never assigns one called marker.category (unlike the page that
does work).
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---