new Gauge( [options])
A simple gauge control to display level information on the map.
Parameters:
| Name | Type | Argument | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Control options. Properties
|
Extends
Methods
-
setTitle(title)
-
Set the control title
Parameters:
Name Type Description titlestring -
val(v)
-
Set/get the gauge value
Parameters:
Name Type Description vnumber | undefined the value or undefined to get it
Returns:
the value
- Type
- number
ol-ext