[Chameleon-dev] [Bug 762] New widgets: zoom to previous extent, zoom to next extent

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Mon Oct 25 07:16:37 EDT 2004


------- Additional Comments From wbronsema at dmsolutions.ca  2004-10-25 07:16 -------
I really like the conept of this type of widget, I have been wanting to
implemtent something like this myself for a while.  

Here's my 2 cents:

IMHO there is no need to change or add anything to the common/wrapper code
because everything can be done inside the widget itself.  I would suggest
creating 2 widgets as well, but instead make an ExtentHistory widget and
ExtentNav widget.  

The ExtentHistory widget is essentially a large session queue of map extents. 
It will monitor and record changes in map extent.  It will also be smart enough
to know if extent has changed by ExtentNav or by normal navigation.  This will
allow it to know when to begin overwrtting the queue, etc.

The ExtentNav widget will simply navigate forward or backward in the queue.  The
ExtentNav widget can have a mode parameter to indicate forward or backward.

One other thing to consider is map projection.  This would have to be tracked in
the extent history along with the extent.

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

More information about the Chameleon-dev mailing list