Right you need to use an API to show/hide markers for example. But there are no integrated function calls to help you in filtering. You are on your own here. API can help you to draw polygons, set markers, bind events on them, measure distance, do geocoding and alike. But you need to implement logic yourself.
For example if you got locations (along with appropriate lat/lng info) in the database, or xml, or dumped json. You can load them up onto the map and then show/hide them yourself on specific event, like a click on checkbox, etc. Do not forget that it's just JavaScript. On Mar 9, 5:53 pm, 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. > > 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 =/ ? > > 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.
