GeoDownloaderToolDefaults
geovisto-map / GeoDownloaderToolDefaults
Class: GeoDownloaderToolDefaults
Defaults class for GeoDownloaderTool
Authorβ
VojtΔch MalΓ½
Extendsβ
Implementsβ
Constructorsβ
new GeoDownloaderToolDefaults()β
new GeoDownloaderToolDefaults():
GeoDownloaderToolDefaults
Returnsβ
Inherited fromβ
Propertiesβ
idString?β
protected
optional
idString:string
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:13
TYPEβ
static
TYPE:string
="geovisto-tool-geo-downloader"
Sourceβ
tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:14
idβ
static
protected
id:number
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:12
Methodsβ
generateId()β
protected
generateId():string
It returns identifier which is used when no identifier is specified.
Returnsβ
string
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:54
getConfig()β
getConfig():
IMapToolConfig
It returns default config if no config is given.
Returnsβ
Implementation ofβ
IGeoDownloaderToolDefaults
.getConfig
Overridesβ
Sourceβ
tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:32
getDataManager()β
getDataManager():
IMapDataManager
It returns default map data manager.
Returnsβ
Inherited fromβ
MapToolDefaults
.getDataManager
Sourceβ
model/internal/tool/MapToolDefaults.ts:20
getGeoDataManager()β
getGeoDataManager(
geoDataArray
):IGeoDataManager
It returns default geo data manager.
Parametersβ
β’ geoDataArray: undefined
| IGeoData
[]
Returnsβ
Inherited fromβ
MapToolDefaults
.getGeoDataManager
Sourceβ
model/internal/tool/MapToolDefaults.ts:27
getIcon()β
getIcon():
string
It returns the icon of the tool.
Returnsβ
string
Implementation ofβ
IGeoDownloaderToolDefaults
.getIcon
Overridesβ
Sourceβ
tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:28
getId()β
getId():
string
It returns identifier which is used when no identifier is specified.
Returnsβ
string
Implementation ofβ
IGeoDownloaderToolDefaults
.getId
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:44
getLabel()β
getLabel():
string
It returns the label of the tool.
Returnsβ
string
Implementation ofβ
IGeoDownloaderToolDefaults
.getLabel
Overridesβ
Sourceβ
tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:24
getProps()β
getProps():
IMapObjectProps
It returns default props if no props are given.
Returnsβ
Implementation ofβ
IGeoDownloaderToolDefaults
.getProps
Inherited fromβ
Sourceβ
model/internal/object/MapObjectDefaults.ts:18
getType()β
getType():
string
It returns a unique type string of the map object.
Returnsβ
string
Implementation ofβ
IGeoDownloaderToolDefaults
.getType
Overridesβ
Sourceβ
tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:16
isEnabled()β
isEnabled():
boolean
By default, the tool is enabled.
Returnsβ
boolean
Implementation ofβ
IGeoDownloaderToolDefaults
.isEnabled
Inherited fromβ
Sourceβ
model/internal/tool/MapToolDefaults.ts:50
isSingleton()β
isSingleton():
boolean
It returns a logical value whether the tool type is singleton.
Returnsβ
boolean
Implementation ofβ
IGeoDownloaderToolDefaults
.isSingleton
Overridesβ
Sourceβ
tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:20