Skip to main content

IMapDomainArrayManager

geovisto-mapReadme | API


geovisto-map / IMapDomainArrayManager

Interface: IMapDomainArrayManager\<T>

This interface declares functions for using map domains which can be identified by uniquie string.

Author

Jiri Hynek

Extends

Type parameters

T extends IMapDomain

Methods

add()

add(domain): void

It adds a domain to the list of domains.

Parameters

domain: T

Returns

void

Source

model/types/domain/IMapDomainArrayManager.ts:31


getDefault()

getDefault(): undefined | T

The function returns the default map domain.

Returns

undefined | T

Source

model/types/domain/IMapDomainArrayManager.ts:14


getDomain()

getDomain(name): undefined | T

The function returns map domains of given name.

Parameters

name: string

Returns

undefined | T

Inherited from

IMapDomainManager.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

IMapDomainManager.getDomainNames

Source

model/types/domain/IMapDomainManager.ts:20


getDomains()

getDomains(): undefined | T[]

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

Returns

undefined | T[]

Inherited from

IMapDomainManager.getDomains

Source

model/types/domain/IMapDomainManager.ts:13


isEmpty()

isEmpty(): boolean

The function returns true if size() is 0.

Returns

boolean

Source

model/types/domain/IMapDomainArrayManager.ts:24


remove()

remove(domain): void

It removes a domain from the list of domains.

Parameters

domain: T

Returns

void

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

Source

model/types/domain/IMapDomainArrayManager.ts:45


size()

size(): number

The function returns the number of domains.

Returns

number

Source

model/types/domain/IMapDomainArrayManager.ts:19