new Status( [options])
Parameters:
| Name | Type | Argument | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Control options. Properties
|
Extends
Methods
-
hide()
-
Hide the status
-
isShown()
-
Is status visible
-
setPosition(position)
-
Set status position
Parameters:
Name Type Description positionstring position of the status 'top', 'left', 'bottom' or 'right', default top
-
setVisible(visible)
-
Set visiblitity
Parameters:
Name Type Description visibleboolean -
show(show)
-
Show the status
Parameters:
Name Type Description showboolean show or hide the control, default true
-
status(html)
-
Show status on the map
Parameters:
Name Type Description htmlstring | Element status text or DOM element
-
toggle()
-
Toggle the status