The localsearch api doesnt have that capability*, but you could implement it yourself in javascript, by post filtering the results
eg this has code for checking if a point is in a polygon http://econym.org.uk/gmap/epoly.htm * although you can get close to a rectangle, using the sll/sspn parameter. 2009/10/10 GoldenJoe <[email protected]>: > > Hey, guys. > > I was wondering if there's a way to perform a localSearch within a > polygon, like a rectangle, for example. I know you can overlay > polygons on maps and such, but I just want to get a result set from > within those boundaries. > > Thanks, > Joseph > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
