Kevin, Im using now the DragZoomControl from Google Maps Examples, but your RubberBandCtrl is the right tool for the job.
You can share the code? On 27 ago, 11:39, Kevin Macdonald <[email protected]> wrote: > Nianwei, > > Your two cents were valuable to me, so I changed the control's > behavior to require the mouse "click". > > And, I've changed its name: it's now called RubberBandCtrl. > > You can try it out here (new URL): > > http://spatialdatabox.com/rubber-band-ctrl/rubber-band-ctrl.html > > Let me know what you think. Once it passes your test (and hopefully a > few others out there) I'll post the source code and some additional > documentation for all to use. > > Thank you for your help so far. > > On Aug 24, 7:24 am, Nianwei <[email protected]> wrote: > > > > > Click-Drag-Release is a de facto way of defining an "area of > > interest". I guess you can try to train the users of a particular > > application to do differently. > > Click to initialize tells the system your clear intent and provide a > > precise definition. If your first drag did not fit exactly what you > > want, you can get a better rectangle in second attempt easily while > > holding the shift key. It's hard to do so using the no-click approach > > because you have no idea when the rectangle starts drawing, or you > > have to release/press the shift key all the time. > > Just my 2cents. > > Maybe a poll will help. > > > On Aug 23, 8:58 pm, "pamela (Google Employee)" <[email protected]> > > wrote: > > > > Hey Kevin- > > > > Thanks for posting. That works much better for me. I still get the > > > craving to click, as I'm used to click-oriented zooming, but I can > > > suppress that easily when it works so slickly. > > > > Nianwei, how does that feel for you? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
