[OpenLayers-Trac] [OpenLayers] #1240: navigation history control
OpenLayers
trac at openlayers.org
Mon Jan 7 03:53:47 EST 2008
#1240: navigation history control
----------------------+-----------------------------------------------------
Reporter: tschaub | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.6 Release
Component: Control | Version: 2.5
Resolution: | Keywords:
State: |
----------------------+-----------------------------------------------------
Comment (by bartvde):
Tim,
would it be an option to have a control property direction with values
forward and backward? So that things can just be handled the same way as
other controls (API-wise)? One would just call trigger like with other
controls of type OpenLayers.Control.TYPE_BUTTON.
So e.g.:
{{{
var nav_fwd = new OpenLayers.Control.NavigationHistory({direction:
'forward'});
var nav_back = new OpenLayers.Control.NavigationHistory({direction:
'backward'});
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/1240#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list