Skip to main content

AbstractMapDataManager

geovisto-mapReadme | API


geovisto-map / AbstractMapDataManager

Class: abstract AbstractMapDataManager

The class wraps data used by the map, its metadata and functions to acquire data items.

Author

Jiri Hynek

Extended by

Implements

Constructors

new AbstractMapDataManager()

new AbstractMapDataManager(data): AbstractMapDataManager

It initializes the data wrapper providing a basic API.

Parameters

data: unknown

Returns

AbstractMapDataManager

Source

model/internal/data/abstract/AbstractMapDataManager.ts:20

Properties

data

private data: unknown

Source

model/internal/data/abstract/AbstractMapDataManager.ts:13

Methods

getDataRecordValues()

abstract getDataRecordValues(dataDomain, dataRecord): unknown[]

It returns values stored of the selected data domain stored in the given data record.

Parameters

dataDomain: IMapDataDomain

dataRecord: IMapDataRecord

Returns

unknown[]

Implementation of

IMapDataManager.getDataRecordValues

Source

model/internal/data/abstract/AbstractMapDataManager.ts:92


getDataRecords()

abstract getDataRecords(): IMapData

It returns the preprocessed data as a list of data reconds of the same object type.

Returns

IMapData

Implementation of

IMapDataManager.getDataRecords

Source

model/internal/data/abstract/AbstractMapDataManager.ts:34


getDataRecordsValues()

abstract getDataRecordsValues(dataDomain, data): unknown[]

It returns list of all values of the selected data domain stored in the given data records.

Parameters

dataDomain: IMapDataDomain

data: IMapData

Returns

unknown[]

Implementation of

IMapDataManager.getDataRecordsValues

Source

model/internal/data/abstract/AbstractMapDataManager.ts:84


getDomain()

getDomain(name): undefined | IMapDataDomain

It returns the data domain which corresponds to the given string or creates a new one.

Parameters

name: string

Returns

undefined | IMapDataDomain

Implementation of

IMapDataManager.getDomain

Source

model/internal/data/abstract/AbstractMapDataManager.ts:66


getDomainNames()

getDomainNames(): string[]

Help function which returns the list of data domain string name.

Returns

string[]

Implementation of

IMapDataManager.getDomainNames

Source

model/internal/data/abstract/AbstractMapDataManager.ts:51


getDomains()

abstract getDomains(): IMapDataDomain[]

It returns list of data domains.

Returns

IMapDataDomain[]

Implementation of

IMapDataManager.getDomains

Source

model/internal/data/abstract/AbstractMapDataManager.ts:39


getOriginalData()

getOriginalData(): unknown

It returns the original input data.

Returns

unknown

Implementation of

IMapDataManager.getOriginalData

Source

model/internal/data/abstract/AbstractMapDataManager.ts:27


getValues()

abstract getValues(dataDomain): unknown[]

It returns list of all values of the selected data domain.

Parameters

dataDomain: IMapDataDomain

Returns

unknown[]

Implementation of

IMapDataManager.getValues

Source

model/internal/data/abstract/AbstractMapDataManager.ts:46