I was afraid of that.

Thanks Larry.

On Sep 22, 2:40 pm, "[email protected]" <[email protected]>
wrote:
> On Sep 22, 11:12 am, spitzbot <[email protected]> wrote:
>
> > How do you get a reference to a marker object if I know it's latlng? I
> > want something like
>
> > var marker = map.markers.find(latlng);
>
> 1. when you create markers you keep references to them in an array
> 2. when you need to find a marker, you iterate through the array
> looking for the one that matches your criteria.
>
>   -- Larry
>
>
>
> > Thanks

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