Hi Tanmaya-

Are these your placemarks, or are you looking for all the street/city
names inside the polygon?
If they're your own placemarks, then you can just iterate through all
your marker objects and check which ones are inside the polygon, based
on this example:
http://code.google.com/apis/maps/documentation/flash/demogallery.html?searchquery=point%20in%20polygon&classname=

If you're looking for street/city names, the closest service we
provide is reverse geocoding (finding the nearest address(es) to a
given latitude/longitude). You could try calling
ClientGeocoder.reverseGeocode on the center of the polygon.
http://code.google.com/apis/maps/documentation/flash/reference.html#ClientGeocoder.reverseGeocode

Otherwise, you'll need to find a 3rd party web service.

- pamela

On Tue, Jan 13, 2009 at 6:00 PM, Tanmaya Mohanty <[email protected]> wrote:
> Hi All,
>
> I am creating a polygon on the map and trying to fetch all place marks
> inside the polygon.
> How can i get the place marks which are inside the polygon.
>
> Regards,
> Tanmaya
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to