Skip to main content

FiltersToolDefaults

geovisto-mapReadme | API


geovisto-map / FiltersToolDefaults

Class: FiltersToolDefaults

This class provide functions which return the default state values.

Author

Jiri Hynek

Extends

Implements

Constructors

new FiltersToolDefaults()

new FiltersToolDefaults(): FiltersToolDefaults

Returns

FiltersToolDefaults

Inherited from

MapToolDefaults.constructor

Properties

idString?

protected optional idString: string

Inherited from

MapToolDefaults.idString

Source

model/internal/object/MapObjectDefaults.ts:13


TYPE

static TYPE: string = "geovisto-tool-filters"

Static tool type constant.

Source

tools/filters/model/internal/tool/FiltersToolDefaults.ts:43


id

static protected id: number

Inherited from

MapToolDefaults.id

Source

model/internal/object/MapObjectDefaults.ts:12

Methods

generateId()

protected generateId(): string

It returns identifier which is used when no identifier is specified.

Returns

string

Inherited from

MapToolDefaults.generateId

Source

model/internal/object/MapObjectDefaults.ts:54


getConfig()

getConfig(): IFiltersToolConfig

It returns default config if no config is given.

Returns

IFiltersToolConfig

Implementation of

IFiltersToolDefaults.getConfig

Overrides

MapToolDefaults.getConfig

Source

tools/filters/model/internal/tool/FiltersToolDefaults.ts:27


getDataManager()

getDataManager(): IMapDataManager

It returns default map data manager.

Returns

IMapDataManager

Inherited from

MapToolDefaults.getDataManager

Source

model/internal/tool/MapToolDefaults.ts:20


getFilterRules()

getFilterRules(): IMapFilterRule[]

It returns default filter rules.

Returns

IMapFilterRule[]

Implementation of

IFiltersToolDefaults.getFilterRules

Source

tools/filters/model/internal/tool/FiltersToolDefaults.ts:80


getFiltersManager()

getFiltersManager(): IMapFilterManager

It returns default filters manager.

Returns

IMapFilterManager

Implementation of

IFiltersToolDefaults.getFiltersManager

Source

tools/filters/model/internal/tool/FiltersToolDefaults.ts:69


getGeoDataManager()

getGeoDataManager(geoDataArray): IGeoDataManager

It returns default geo data manager.

Parameters

geoDataArray: undefined | IGeoData[]

Returns

IGeoDataManager

Inherited from

MapToolDefaults.getGeoDataManager

Source

model/internal/tool/MapToolDefaults.ts:27


getIcon()

getIcon(): string

It returns the icon of the tool.

Returns

string

Implementation of

IFiltersToolDefaults.getIcon

Overrides

MapToolDefaults.getIcon

Source

tools/filters/model/internal/tool/FiltersToolDefaults.ts:62


getId()

getId(): string

It returns identifier which is used when no identifier is specified.

Returns

string

Implementation of

IFiltersToolDefaults.getId

Inherited from

MapToolDefaults.getId

Source

model/internal/object/MapObjectDefaults.ts:44


getLabel()

getLabel(): string

It returns the label of the tool.

Returns

string

Implementation of

IFiltersToolDefaults.getLabel

Overrides

MapToolDefaults.getLabel

Source

tools/filters/model/internal/tool/FiltersToolDefaults.ts:55


getProps()

getProps(): IMapObjectProps

It returns default props if no props are given.

Returns

IMapObjectProps

Implementation of

IFiltersToolDefaults.getProps

Inherited from

MapToolDefaults.getProps

Source

model/internal/object/MapObjectDefaults.ts:18


getType()

getType(): string

It returns a unique string of the tool type.

Returns

string

Implementation of

IFiltersToolDefaults.getType

Overrides

MapToolDefaults.getType

Source

tools/filters/model/internal/tool/FiltersToolDefaults.ts:48


isEnabled()

isEnabled(): boolean

By default, the tool is enabled.

Returns

boolean

Implementation of

IFiltersToolDefaults.isEnabled

Inherited from

MapToolDefaults.isEnabled

Source

model/internal/tool/MapToolDefaults.ts:50


isSingleton()

isSingleton(): boolean

Only one filter tool should be present in the Geovisto map.

Returns

boolean

Implementation of

IFiltersToolDefaults.isSingleton

Overrides

MapToolDefaults.isSingleton

Source

tools/filters/model/internal/tool/FiltersToolDefaults.ts:36