> I cannot understand what's wrong.........

Look in your newMarker function.
First, you set up customIcons[] and populate it with undefined
variables.
Next, you define some GIcons - these don't ever get put into the
customIcons array.
When GMarker goes to use the customIcons array it is still populated
with undefineds.

Try it the other way round.

Once it's working, you might like to consider whether you want to
define all the icones every time that newMarker() is run, or if it
would be better to define them only once.

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

Reply via email to