On Feb 22, 12:23 pm, LarsM <[email protected]> wrote:
> Beautiful!
>
> This is what a beginner like me can work with!!
>
> But in the code I don't find anything about 'markers.push' which I thought
> was the key to attach the infoWindow to the marker.

That code uses function closure to keep the infowindow associated with
the marker.  See Mike Williams' v2 tutorial from which it was ported:
http://econym.org.uk/gmap/
This part:
http://econym.org.uk/gmap/basic1.htm

  -- Larry

> So obviously here are different solutions.
>
> Again: thanks!
>
> /LarsM

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