On Oct 23, 10:24 pm, Kashins DaWeeD <[email protected]> wrote:
> > Sounds like pitfall #3 in Mike Williams' tutorial page 
> > here:http://econym.org.uk/gmap/basic1.htm
>
> >   -- Larry

Did you look at the example Larry gave?

You use a createMarker function like Mike's, which binds each of the
markers' event listeners to the right marker via function closure; but
you don't use an equivalent createPolyline or createPolygon function.
That means that you don't get function closure on your shapes and
lines and fall into Pitfall Number Three.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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