MapTools.org

[Chameleon-dev] [Bug 289] New: [Chameleon Widget] Zoom Out by Rectangle

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Sat, 13 Mar 2004 08:22:24 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=289

           Summary: [Chameleon Widget] Zoom Out by Rectangle
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Widget
        AssignedTo: chameleon-dev@lists.maptools.org
        ReportedBy: spencer@dmsolutions.ca


moved discussion from bug 276

------- Additional Comment #2 From Bart van den Eijnden  2004-03-13 06:18 -------

Would it be a lot of work Paul to implement the zoom-out with a rectangle? We 
get lots of questions from ESRI users wanting this kind of functionality.


------- Additional Comment #3 From Paul Spencer 2004-03-13 07:45 -------

what would it do?  Options are:

* zoom out from center point of rectangle by fixed factor (unless ZoomFactor
widget is in template)?
* zoom out from center point with factor calculated from size of rectangle?
* some other option?


------- Additional Comment #4 From Bart van den Eijnden 2004-03-13 07:55 -------

The way this works in the ESRI software is your second option Paul:
zoom out from center point with factor calculated from size of rectangle?

I.e. the smaller the box, the further the map zooms out.

---------------------------------


I'm guessing that we will need a minimum and maximum zoom factor to apply ... 

* minimum could be 1 by default so dragging a box the full extent of the map
would cause no zoom out.

* maximum could be to zoom out to full extents

* the zoom out widget would need an attribute or setting to determine the
minimum size (in pixels) of the rectangle ... to make sure that clicks are not
interpreted as zoom out maximum ... that could be annoying

* need to determine an algorithm for calculating a zoom out factor ... must take
into account the user doing dumb things like drawing a very long and skinny box
in either horizontal or diagonal ...

I don't think this is difficult once we decide how it should work.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


This archive was generated by Pipermail.