Skip to main content

MapDynamicDomainDimension

geovisto-map • Readme | API


geovisto-map / MapDynamicDomainDimension

Class: MapDynamicDomainDimension\<T>

The class wraps a map dynamin domain dimension and its properties.

Author​

Jiri Hynek

Extends​

Type parameters​

• T extends IMapDomain

Implements​

Constructors​

new MapDynamicDomainDimension()​

new MapDynamicDomainDimension\<T>(name, domainManagerLoader, domainName): MapDynamicDomainDimension\<T>

It creates a new map dimension.

Parameters​

• name: string

• domainManagerLoader

• domainName: string

Returns​

MapDynamicDomainDimension\<T>

Overrides​

AbstractMapDimension.constructor

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:22

Properties​

domainManagerLoader()​

private domainManagerLoader: () => IMapDomainManager\<T>

Returns​

IMapDomainManager\<T>

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:13


domainName​

private domainName: string

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:14

Methods​

findValue()​

findValue(domainName): undefined | T

It finds the value of given string.

Parameters​

• domainName: string

Returns​

undefined | T

Implementation of​

IMapDimension.findValue

Overrides​

AbstractMapDimension.findValue

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:86


getDomainManager()​

getDomainManager(): IMapDomainManager\<T>

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

Returns​

IMapDomainManager\<T>

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:31


getDomainManagerLoader()​

getDomainManagerLoader(): () => IMapDomainManager\<T>

It returns the map domain manager loader which is set to the map dimension.

Returns​

Function

Returns​

IMapDomainManager\<T>

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:47


getName()​

getName(): string

It returns the name of the dimension

Returns​

string

Implementation of​

IMapDimension.getName

Inherited from​

AbstractMapDimension.getName

Source​

model/internal/dimension/AbstractMapDimension.ts:30


getValue()​

getValue(): undefined | T

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

Returns​

undefined | T

Implementation of​

IMapDimension.getValue

Overrides​

AbstractMapDimension.getValue

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:63


setDomainManager()​

setDomainManager(): void

It sets a map domain manager which is set to the map dimension.

Returns​

void

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:40


setDomainManagerLoader()​

setDomainManagerLoader(domainManagerLoader): void

It sets a map domain manager loader which is set to the map dimension.

Parameters​

• domainManagerLoader

Returns​

void

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:56


setName()​

setName(name): void

It sets the name of the dimension

Parameters​

• name: string

Returns​

void

Implementation of​

IMapDimension.setName

Inherited from​

AbstractMapDimension.setName

Source​

model/internal/dimension/AbstractMapDimension.ts:37


setStringValue()​

setStringValue(domainName): void

It looks for the map domain of the given name and sets it the map dimension.

Parameters​

• domainName: string

Returns​

void

Implementation of​

IMapDimension.setStringValue

Overrides​

AbstractMapDimension.setStringValue

Source​

model/internal/dimension/MapDynamicDomainDimension.ts:76


setValue()​

setValue(value): void

It sets a new value to the map dimension.

Parameters​

• value: undefined | T

Returns​

void

Implementation of​

IMapDimension.setValue

Inherited from​

AbstractMapDimension.setValue

Source​

model/internal/dimension/AbstractMapDimension.ts:53


toString()​

toString(): string

The string representation is equal to the name of the map domain.

Returns​

string

Inherited from​

AbstractMapDimension.toString

Source​

model/internal/domain/abstract/AbstractMapDomain.ts:18