You don't want the string length of the nodelist, you want the number of
nodes, which I believe is $markers->length. (I'm not a PHP expert)
However, you next problem is that I don't think you can mix PHP and
Javascript syntax like this:
$countrycode = $markers[i].getAttribute("cc");
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---