Great! This reminds me of keydragzoom, Nianwei's lightweight alternative in the JS API to DragZoomControl.
The control is a little bit different from keydragzoom though, and it's throwing me off. I think that in keydragzoom, you need to click first to start defining the box, and then mouseup to release it. I'm having trouble using DragZoomer with the shift-drag-unshift interaction. It could just be me though. On Wed, Aug 19, 2009 at 4:29 AM, Kevin Macdonald<[email protected]> wrote: > > Hi, > > I recently wrote DragZoomer, a control for Google Maps For Flash, that > adds a "pan & zoom" control to a Google Map, that for certain use > cases, allows the user to move around on the map more efficiently than > via the map's built-in controls. > > Other built-in features include > "Shift + Z" = zoom in > "Shift + Q" = go back to previous view > "Shift + A or S" = go left or right > "Shift + D or X" = go up or down > > You can view a demo of DragZoomer here: > > http://spatialdatabox.com/drag-zoomer/drag-zoomer.html > > If this functionality hasn't been implemented by another library, I > plan to add the library to the Google Map library for all to use. > > If you see any bugs in the demo implementation, please let me know. > > > More info here: > > ================================= > With Google's built-in controls, multiple "pan & zoom" actions require > the user to move the mouse back-and-forth between the ZoomControl, > which lies in the top-left edge of the map, and somewhere else on the > map. For an eastward pan & zoom, the mouse must travel back-and-forth > across the full width of the map. > > Although this method of interaction was revolutionary for its time, it > alas is inefficient to perform, especially when each back-and-forth > transition occurs on a full-screen map in a wide-screen display. > > For use-cases that require the user to constantly "pan & zoom", such > as when searching for or editting map content, the built-in controls > pose an intrusion into an efficient workflow. > > With DragZoomer enabled, the user can use the Shift key and mouse to > draw a rectangle on the map. When the user releases the Shift key, the > map automatically performs both "pan & zoom" actions to display only > the area of the map that lies within the rectangle. The smaller the > rectangle, the more the map will be zoomed. > ================================= > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
