[OpenLayers-Trac] [OpenLayers] #1240: navigation history control
OpenLayers
trac at openlayers.org
Thu Jan 3 16:19:48 EST 2008
#1240: navigation history control
----------------------+-----------------------------------------------------
Reporter: tschaub | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.6 Release
Component: general | Version: 2.5
Resolution: | Keywords:
State: |
----------------------+-----------------------------------------------------
Comment (by elemoine):
Replying to [comment:1 tschaub]:
> This control is intentionally generic so that it could be used to create
a history control superclass. The only properties/methods specific to the
navigation history are on, restore, and initStack. All others could go in
OpenLayers.Control.History. Subclasses of the history control can be used
to do things like page through previous/next edits on a vector layer (once
we start triggering appropriate events on the vector layer).
>
> I'll write tests after the design is reviewed.
Very very nice.
One question: everything seems to be based on map events, meaning that
things that don't generate map events cannot be saved/restored. Do you
confirm my understanding? (I'm not saying this is a bad thing).
--
Ticket URL: <http://trac.openlayers.org/ticket/1240#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list