MapThemesManager
geovisto-map / MapThemesManager
Class: MapThemesManager
This class provide functions for using themes.
Author
Jiri Hynek
Extends
Implements
Constructors
new MapThemesManager()
new MapThemesManager(
themes):MapThemesManager
Parameters
• themes: IMapTheme[]
Returns
Overrides
MapDomainArrayManager.constructor
Source
tools/themes/model/internal/theme/basic/MapThemesManager.ts:16
Methods
add()
add(
domains):void
It adds a domain to the list of domains.
Override this function.
Parameters
• domains: IMapTheme
Returns
void
Implementation of
Inherited from
Source
model/internal/domain/generic/MapDomainArrayManager.ts:56
getDefault()
getDefault():
undefined|IMapTheme
The function returns the default theme.
Returns
undefined | IMapTheme
Implementation of
Overrides
MapDomainArrayManager.getDefault
Source
tools/themes/model/internal/theme/basic/MapThemesManager.ts:23
getDomain()
getDomain(
name):undefined|IMapTheme
The function returns map domains of given type.
Parameters
• name: string
Returns
undefined | IMapTheme
Implementation of
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
IMapThemesManager.getDomainNames
Inherited from
MapDomainArrayManager.getDomainNames
Source
model/internal/domain/generic/MapDomainArrayManager.ts:83
getDomains()
getDomains():
IMapTheme[]
The function returns available map domains.
Returns
Implementation of
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
Inherited from
Source
model/internal/domain/generic/MapDomainArrayManager.ts:45
remove()
remove(
domains):void
It removes a domain from the list of domains.
Parameters
• domains: IMapTheme
Returns
void
Implementation of
Inherited from
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
IMapThemesManager.removeByName
Inherited from
MapDomainArrayManager.removeByName
Source
model/internal/domain/generic/MapDomainArrayManager.ts:76
size()
size():
number
The function returns number of domains.
Returns
number