Skip to main content

InfoDataManager

geovisto-mapReadme | API


geovisto-map / InfoDataManager

Class: InfoDataManager

The class provides a basic implemention info data manager.

Author

Jiri Hynek

Author

Tomas Koscielniak

Extends

Implements

Constructors

new InfoDataManager()

new InfoDataManager(infoDataArray): InfoDataManager

Parameters

infoDataArray: IInfoData[]

Returns

InfoDataManager

Overrides

MapDomainArrayManager.constructor

Source

tools/info/model/internal/infodata/InfoDataManager.ts:17

Methods

add()

add(domains): void

It adds a domain to the list of domains.

Override this function.

Parameters

domains: IInfoData

Returns

void

Implementation of

IInfoDataManager.add

Inherited from

MapDomainArrayManager.add

Source

model/internal/domain/generic/MapDomainArrayManager.ts:56


getDefault()

getDefault(): undefined | IInfoData

The function returns the first domain of the array.

Returns

undefined | IInfoData

Implementation of

IInfoDataManager.getDefault

Inherited from

MapDomainArrayManager.getDefault

Source

model/internal/domain/generic/MapDomainArrayManager.ts:30


getDomain()

getDomain(name): undefined | IInfoData

The function returns map domains of given type.

Parameters

name: string

Returns

undefined | IInfoData

Implementation of

IInfoDataManager.getDomain

Inherited from

MapDomainArrayManager.getDomain

Source

model/internal/domain/generic/MapDomainArrayManager.ts:99


getDomainNames()

getDomainNames(): string[]

Help function which returns the list of domain string labels (map domain types).

Returns

string[]

Implementation of

IInfoDataManager.getDomainNames

Inherited from

MapDomainArrayManager.getDomainNames

Source

model/internal/domain/generic/MapDomainArrayManager.ts:83


getDomains()

getDomains(): IInfoData[]

The function returns available map domains.

Returns

IInfoData[]

Implementation of

IInfoDataManager.getDomains

Inherited from

MapDomainArrayManager.getDomains

Source

model/internal/domain/generic/MapDomainArrayManager.ts:23


isEmpty()

isEmpty(): boolean

The function returns true if size() is 0.

Returns

boolean

Implementation of

IInfoDataManager.isEmpty

Inherited from

MapDomainArrayManager.isEmpty

Source

model/internal/domain/generic/MapDomainArrayManager.ts:45


remove()

remove(domains): void

It removes a domain from the list of domains.

Parameters

domains: IInfoData

Returns

void

Implementation of

IInfoDataManager.remove

Inherited from

MapDomainArrayManager.remove

Source

model/internal/domain/generic/MapDomainArrayManager.ts:65


removeByName()

removeByName(id): void

It removes a domain from the list of domains.

Override this function.

Parameters

id: string

Returns

void

Implementation of

IInfoDataManager.removeByName

Inherited from

MapDomainArrayManager.removeByName

Source

model/internal/domain/generic/MapDomainArrayManager.ts:76


size()

size(): number

The function returns number of domains.

Returns

number

Implementation of

IInfoDataManager.size

Inherited from

MapDomainArrayManager.size

Source

model/internal/domain/generic/MapDomainArrayManager.ts:38