Hi I need a user to be able to either define a point or draw a
rectangle on a map. I looked at adapting the dragzoom code but that
will only allow a rectangle of a fixed ratio

http://www.marlin.ac.uk/demonstrations/vagueLocations.php

The flow would be:
User selects Point or Area from Radio box
User clicks on map
Single click gives a point and records lat/long in text boxes (same
for NW and SE)
Click and drag allows drawing of a polygon (rectangle) and the
respective NW and SE coordinates are recorded.

Thanks
Dan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to