On May 17, 1:12 pm, Shivam <[email protected]> wrote: > Hi. > Iam able to filter my search results on some particular conditions but > i want when my user zooms in or zooms out on map , results to get > filtered then.iam not able to do this.i know this much that i have to > add listener to this event something like this > > google.maps.event.addListener(map, 'zoom_changed', function() { > codeAddress(); > }); > > but i dont know wt should i pass to codeAddress() which can fetch new > refined results for me > can anyone please explain me the logic behind this
"zoom_changed" is a Version 3 event -- the Version 2 equivalent is "zoomend". Since you're using Version 3, you would probably be better off asking in the Version 3 Group at http://groups.google.com/group/google-maps-js-api-v3 However things to consider before asking there are: What does codeAddress() currently do? Do you simply need to find the map's current bounds and use those? Note too that that Group almost certainly will need a link to your current map -- just as this Group does. -- 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.
