On Jan 3, 8:43 am, shenyiwei19881007 <[email protected]>
wrote:
> Hi , everyone, now I have a map, and the google map has a lot of markers.
> Now I know there is a marker at the given point in the map, what I want to
> do is to get the marker at that point , does anybody know how to do it, what
> method should I use to get an existed marker at a given point, thanks very
> much.

The only way I know how to do it (in the v2 API) is to create an array
of markers (I usually create the array when I add them to the map) and
search that array for a marker that is within some small distance of
the target location (using .distanceFrom).

If that doesn't help please read and follow the posting guidelines and
post a link to your map so we don't have to guess at what you are
doing:
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
http://groups.google.com/group/google-maps-api/web/why-including-a-link-is-critical

  -- Larry

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