Skip to main content

GeoDownloaderToolDefaults

geovisto-map β€’ Readme | API


geovisto-map / GeoDownloaderToolDefaults

Class: GeoDownloaderToolDefaults

Defaults class for GeoDownloaderTool

Author​

VojtΔ›ch MalΓ½

Extends​

Implements​

Constructors​

new GeoDownloaderToolDefaults()​

new GeoDownloaderToolDefaults(): GeoDownloaderToolDefaults

Returns​

GeoDownloaderToolDefaults

Inherited from​

MapToolDefaults.constructor

Properties​

idString?​

protected optional idString: string

Inherited from​

MapToolDefaults.idString

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​

MapToolDefaults.id

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​

MapToolDefaults.generateId

Source​

model/internal/object/MapObjectDefaults.ts:54


getConfig()​

getConfig(): IMapToolConfig

It returns default config if no config is given.

Returns​

IMapToolConfig

Implementation of​

IGeoDownloaderToolDefaults.getConfig

Overrides​

MapToolDefaults.getConfig

Source​

tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:32


getDataManager()​

getDataManager(): IMapDataManager

It returns default map data manager.

Returns​

IMapDataManager

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​

IGeoDataManager

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​

MapToolDefaults.getIcon

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​

MapToolDefaults.getId

Source​

model/internal/object/MapObjectDefaults.ts:44


getLabel()​

getLabel(): string

It returns the label of the tool.

Returns​

string

Implementation of​

IGeoDownloaderToolDefaults.getLabel

Overrides​

MapToolDefaults.getLabel

Source​

tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:24


getProps()​

getProps(): IMapObjectProps

It returns default props if no props are given.

Returns​

IMapObjectProps

Implementation of​

IGeoDownloaderToolDefaults.getProps

Inherited from​

MapToolDefaults.getProps

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​

MapToolDefaults.getType

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​

MapToolDefaults.isEnabled

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​

MapToolDefaults.isSingleton

Source​

tools/geo-downloader/model/internal/tool/GeoDownloaderToolDefaults.ts:20