On Apr 20, 12:16 pm, Archi <[email protected]> wrote:

> -Draw on the map.

You can use a control like this, perhaps:
http://maps.forum.nu/gm_drag_polygon.html
Click on the map and release. Then drag the markers.


> -Get id of markers that are inside the drawing.

When you load your XML, keep a reference to each marker in an array.
Then, once you've drawn a polygon, loop the array of markers and check
if
polygon.getBounds().containsLatLng(markers[n].getLatLng());

--
Marcelo - http://maps.forum.nu
--



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