Constructor
new HistoryNavigation(options)
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Control options, extends Properties
|
HistoryNavigation control. Displays back and forward buttons to allow the user to navigate map center and zoom history.
If any of the backHtml, forwardHtml, backTitle and forwardTitle
options are unset, the iShare server version is >= v6.0.9, your langauge
file contains entries under oli.historyNavigation and the lang UI text
lookup is available when this control is created then the entries from the
language file will be used. Otherwise the default English values will be
used. The lang lookup is automatically loaded when creating a LiteMap and is
populated once the load event is dispatched.
If backHtml or forwardHtml are set to a string which is more than a character wide, consider the following CSS to allow the buttons to adapt to their text: .oli-history.ol-control button { width: auto; }
| Name | Type | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Control options, extends Properties
|