API / geotoolkit / gauges / layout / CircularLayout / CircularLayout
layout.CircularLayout.CircularLayout
Defines layout for circular gauges
↳
CircularLayout
Constructors
Methods
Methods
▸ getClassName(): string
string
▸ getCustomComponent(name): Node
Returns a custom component which was registered by provided name
| Name | Type | Description |
|---|---|---|
name | string | Name of component to return |
GaugeLayout.getCustomComponent
▸ isCustomRegion(name): boolean
Checks if the region with this name is a custom region
| Name | Type | Description |
|---|---|---|
name | string | Name of the region to test |
boolean
▸ removeRegion(name): CircularLayout
Deletes a region from the layout. Only custom added regions can be removed.
| Name | Type | Description |
|---|---|---|
name | string | Name of the region |
▸ setCustomRegionParams(name, params): CircularLayout
Changes parameters of custom regions
| Name | Type | Description |
|---|---|---|
name | string | Name of the custom region |
params | Region | JSON with CSS properties |
GaugeLayout.setCustomRegionParams
▸ updateCssRegions(): void
Parser region CSS parameters and updates regions accordingly
void
▸ Static getClassName(): string
string