Skip to main content

IMapThemesManager

geovisto-map • Readme | API


geovisto-map / IMapThemesManager

Interface: IMapThemesManager

This interface declares a manager for using themes.

Author​

Jiri Hynek

Extends​

Methods​

add()​

add(domain): void

It adds a domain to the list of domains.

Parameters​

• domain: IMapTheme

Returns​

void

Inherited from​

IMapDomainArrayManager.add

Source​

model/types/domain/IMapDomainArrayManager.ts:31


getDefault()​

getDefault(): undefined | IMapTheme

It returns the default theme.

Returns​

undefined | IMapTheme

Overrides​

IMapDomainArrayManager.getDefault

Source​

tools/themes/model/types/theme/IMapThemesManager.ts:18


getDomain()​

getDomain(name): undefined | IMapTheme

The function returns map domains of given name.

Parameters​

• name: string

Returns​

undefined | IMapTheme

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 | IMapTheme[]

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

Returns​

undefined | IMapTheme[]

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: IMapTheme

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