On Jan 24, 4:43 pm, tali-aviram <[email protected]> wrote: > Hi, > I use google map and I want to allow user draw one polygon on map and > click search > ( the search is only on the polygon area and getting the result) > I found the geometryControl.js and polygonControl.js but after you > close the polygon you can draw more. > > also I want that when the user will click again on the polygon button > the polygon will be deleted before the new one will be drawn, > is this optional?
It may be that that particular control is not the best for your selection tool. Here's a thread I found searching for "rectangular selection" which might be useful: http://groups.google.com/group/google-maps-api/browse_thread/thread/eb40e5156390d1cd/ There are plenty of others available via the search box in the top- right corner of the web view. Andrew -- 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.
