Or: I'm terrible at javascript part 3.

I keep getting 'gmarkers[i] is undefined' after attempting to add a
search function to my map.

The link is: http://www.exploiter.org/darkfall/searchtest

I added

alert(gmarkers);

Just to see if there was anything in the array, and got something like
this:

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
[object Object],[object Object],[object Object]

It's not quite as good as php's echo.


The error only happens after doing a search, and then attempting to
use one of the toggles.

Any help is appreciated.
--~--~---------~--~----~------------~-------~--~----~
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