On Mar 9, 5:53 am, MatiasVelilla <[email protected]> wrote:
> hi, im into a new project and i need some orientation from you guys.
>
> i need to make polygons with all the different city zones. So i found
> that a .xml with the data would it make it.
>
> then i have a bound of marks that i should build in other layer.
>
> the question is.. can i filter a group of  those marks inside a
> polygon from an OnClick event ?
>
> like.. i need to see the 300 hotels that are inside the zone
> "downtown" so i click and then they come up.

Use Mike Williams' epoly (or epoly2) extension:
Part 12 Using EPoly - extra methods for polygons and polylines.
http://econym.org.uk/gmap/epoly.htm

if (polygon..Contains(marker.getLatLng())

>
> pd: i was using .kml files to set the marks on the map. i know i need
> to use the googlemap api methods to handle group of marks to do
> something like this instead.  am i right =/ ?

Yes, plus code you write yourself.

  -- Larry

>
> hope you guys help me. =)
>
> mat. - Argentina

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