RubberBandCtrl Demo
To give it a try, please follow these steps:
- Click the map to give it focus.
- Hold a Shift key (the cursor changes to a cross).
- Click and hold the left mouse button to anchor the rubber band to the map.
- Drag the mouse to stretch the rubber band.
- Release the mouse button to snap the map to the area enclosed by the rubber band, or release the Shift key to cancel.
The source code for RubberBandCtrl is free and is available from the
Google Maps API for Flash Utility Library.