On Oct 7, 7:22 pm, Joshua Lloyd <[EMAIL PROTECTED]> wrote:
> I am trying the same thing were I can toggle on and off markers and am
> having the same problem that I can not get the layers to turn on or
> off.  When I added the "iconGroups[div].push(marker)" into my code, it
> just made all of my markers go away and I still could not turn them on
> or off.  Any suggestions would be helpful.
>
> http://www.symhome.net/php/500MileTest11.php
>
You shouldn't hijack threads, create one of your own unless you are
sure it is the same issue.

You are calling the toggleGroup function with the argument '7' and
'9',  the associated object properties are '07' and '09'. You don't
check to see if it exists before using the length property, so it
generates an error.  Be consisitent, use '07' and '09' everywhere (as
that is what is in the xml).


  -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to