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 title
string -
val(v)
-
Set/get the gauge value
Parameters:
Name Type Description v
number | undefined the value or undefined to get it
Returns:
the value
- Type
- number