Skip to main content

IMapFilterManager

geovisto-mapReadme | API


geovisto-map / IMapFilterManager

Interface: IMapFilterManager

This interface declares functions for using filters.

Author

Jiri Hynek

Extends

Methods

add()

add(domain): void

It adds a domain to the list of domains.

Parameters

domain: IMapFilterOperation

Returns

void

Inherited from

IMapDomainArrayManager.add

Source

model/types/domain/IMapDomainArrayManager.ts:31


createRule()

createRule(dataDomain, opName, pattern): null | IMapFilterRule

The function creates a new filter rule using given operation label.

Parameters

dataDomain: IMapDataDomain

opName: string

pattern: string

Returns

null | IMapFilterRule

Source

model/types/filter/IMapFilterManager.ts:22


filterData()

filterData(dataManager, dataRecords, filterRules): IMapData

Takes a list of data and applies the given filter rules. Returns a new list of the references to filtered data items.

TODO: define data records type

Parameters

dataManager: IMapDataManager

dataRecords: IMapData

filterRules: IMapFilterRule[]

Returns

IMapData

Source

model/types/filter/IMapFilterManager.ts:34


getDefault()

getDefault(): undefined | IMapFilterOperation

The function returns the default map domain.

Returns

undefined | IMapFilterOperation

Inherited from

IMapDomainArrayManager.getDefault

Source

model/types/domain/IMapDomainArrayManager.ts:14


getDomain()

getDomain(name): undefined | IMapFilterOperation

The function returns map domains of given name.

Parameters

name: string

Returns

undefined | IMapFilterOperation

Inherited from

IMapDomainArrayManager.getDomain

Source

model/types/domain/IMapDomainManager.ts:27


getDomainNames()

getDomainNames(): string[]

It sets the data domain which is set to the map dimension.

Returns

string[]

Inherited from

IMapDomainArrayManager.getDomainNames

Source

model/types/domain/IMapDomainManager.ts:20


getDomains()

getDomains(): undefined | IMapFilterOperation[]

It returns data domain which is set to the map dimension.

Returns

undefined | IMapFilterOperation[]

Inherited from

IMapDomainArrayManager.getDomains

Source

model/types/domain/IMapDomainManager.ts:13


isEmpty()

isEmpty(): boolean

The function returns true if size() is 0.

Returns

boolean

Inherited from

IMapDomainArrayManager.isEmpty

Source

model/types/domain/IMapDomainArrayManager.ts:24


remove()

remove(domain): void

It removes a domain from the list of domains.

Parameters

domain: IMapFilterOperation

Returns

void

Inherited from

IMapDomainArrayManager.remove

Source

model/types/domain/IMapDomainArrayManager.ts:38


removeByName()

removeByName(name): void

It removes domain of the given name from the list of domains.

Parameters

name: string

Returns

void

Inherited from

IMapDomainArrayManager.removeByName

Source

model/types/domain/IMapDomainArrayManager.ts:45


size()

size(): number

The function returns the number of domains.

Returns

number

Inherited from

IMapDomainArrayManager.size

Source

model/types/domain/IMapDomainArrayManager.ts:19