Skip to main content

GeoDownloaderToolMapForm

geovisto-map β€’ Readme | API


geovisto-map / GeoDownloaderToolMapForm

Class: GeoDownloaderToolMapForm

Form for DownloaderTool.

Author​

VojtΔ›ch MalΓ½

Extends​

Implements​

Constructors​

new GeoDownloaderToolMapForm()​

new GeoDownloaderToolMapForm(tool): GeoDownloaderToolMapForm

Parameters​

β€’ tool: IGeoDownloaderTool

Returns​

GeoDownloaderToolMapForm

Overrides​

MapObjectForm.constructor

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:21

Properties​

control​

private control: GeoDownloaderToolMapControl

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:18


currentZoom​

private currentZoom: HTMLDivElement

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:17


htmlContent​

private htmlContent: HTMLDivElement

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:16


searchBtn​

searchBtn: null | HTMLButtonElement = null

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:19

Methods​

changeCurrentZoom()​

changeCurrentZoom(newZoom): void

Change displayed zoom number.

Parameters​

β€’ newZoom: number

Returns​

void

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:79


createFetchButton()​

protected createFetchButton(): HTMLButtonElement

Creates button, on click fetches selected value.

Returns​

HTMLButtonElement

Button

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:89


getContent()​

getContent(): HTMLDivElement

Returns html div elemnt of hierarchy tool. If not defined, creates one.

Returns​

HTMLDivElement

Main div form element.

Implementation of​

IMapForm.getContent

Overrides​

MapObjectForm.getContent

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:32


getMapObject()​

protected getMapObject(): IGeoDownloaderTool

Returns​

IGeoDownloaderTool

Inherited from​

MapObjectForm.getMapObject

Source​

model/internal/form/MapObjectForm.ts:16


stateChange()​

stateChange(enable): void

Method for enabling and disabling tool. Method can't be used for clearing saved data.

Parameters​

β€’ enable: boolean

True if going from disabled to enabled status.

Returns​

void

Source​

tools/geo-downloader/model/internal/form/GeoDownloaderToolMapForm.ts:102