On Mar 19, 4:15 am, rajug <[email protected]> wrote: > Hello there, > > Can anyone please help me to find the four corner's lat and long > values of a map?
How about 2: map.getBounds().getNorthEast() map.getBounds().getSouthWest() north west and south east is left as an exercise for the reader... http://code.google.com/apis/maps/documentation/reference.html#GMap2.getBounds http://code.google.com/apis/maps/documentation/reference.html#GLatLngBounds.getSouthWest -- Larry > I studied the reference page and tried in different > approaches without any proper output. I need to find those values when > the map is draged so that I can filter a listing of properties as per > selected area of the map view. > [code] > GEvent.addListener(map, 'dragend', function() { > // here i need to get four corner's lat/long.}); > > [/code] > > Thank you in advance. -- 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.
