API / geotoolkit / gauges / defaults / HorizontalTraffic / HorizontalTraffic
defaults.HorizontalTraffic.HorizontalTraffic
Implements a horizontal traffic gauge with three lights, green, yellow, and red. When a light is not active, it is light grey.
↳
HorizontalTraffic
Constructors
Methods
▸ createGauge(params): TrafficGauge
Returns a gauge ready for use
| Name | Type | Description |
|---|---|---|
params | Partial<Options> | JSON with overriding properties |
Gauge with applied default and overridden properties
▸ getClassName(): string
string
▸ getGaugeProperties(): Options
Returns properties pertaining to the gauge implemented by this factory. This function is called by CreateGauge() method in this class and is mainly for internal use.
AbstractFactory.getGaugeProperties
▸ getGaugeType(): string
Gets the type of the gauge which this factory implements
string
▸ getName(): string
Gets the name of this implementation
string
▸ Static getClassName(): string
string