Thanks A LOT, now it works!
Anyway, I've never supposed it was a fault of the Maps API: in fact, I was 
pointing out to Esa and shaf that the object array handling should be 
reviewed, but I didn't find a suitable option.

The funny thing is that the canvas was still blank in my first attempt with 
your script, after this failure I discovered that when shifting from IDs to 
classes, I missed the container's CSS width and height declarations.
As these properties have been set, even my wrong script began to display the 
map (but only the last, as noticed by shaf).

Not to mention the fact that I didn't use any [i] in my very first code, 
maybe because as a self-learner who started all with Javascript, I did 
assume it used to work like this.
However, after several hours spent mixing JS and PHP, I've got an headache 
that prevented me from clearly seeing the basics, as the CSS thing 
demonstrated...

Now I'm going to read more on the closure topic, so I could better 
understand how to make a working custom loop without jQuery.
Thanks again

E.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to