# Legato.Control.NavigationHistory

Inherits from: | OpenLayers.Control.NavigationHistory

Summary

Legato.Control.NavigationHistory |
Functions |
OpenLayers.Control.NavigationHistory |
onPreviousChange Called when the previous history stack | changes.
onNextChange Called when the next history stack changes. |
draw Called when the control is added to the map. |
setMap | Set the map property for the control.
lc:NavigationHistory XML based config for a | Legato.Control.NavigationHistory.

### Functions

### OpenLayers.Control.NavigationHistory

Parameters: options | {Object}

### onPreviousChange Called when the previous history stack

changes.

Parameters: state | {Object} An object representing the state to be restored if previous is triggered again or null if no previous states
remain. length | {Integer} The number of remaining previous states that can be restored.

### onNextChange Called when the next history stack changes.

Parameters: state | {Object} An object representing the state to be restored if next is triggered again or null if no next states remain.
length | {Integer} The number of remaining next states that can be restored.

### draw Called when the control is added to the map.

### setMap

> setMap : function( | map | )

Set the map property for the control.

#### Parameters

map | {<OpenLayers.Map>}

## lc:NavigationHistory XML based config for a

Legato.Control.NavigationHistory.

See Also: | <OpenLayers.Control.NavigationHistory> - Legato.Beans.BeanFactory - <QName>

#### A valid config example for a NavigationHistory would be

>     <lc:NavigationHistory limit="50" activateOnDraw="true" clearOnDeactivate="false" />

> setMap : function( | map | )

Set the map property for the control.