GeoTiffTypeDialog
Extends: Dialog
Source: GeoTiffTypeDialog.ts:19
Asks how to add a GeoTIFF. The dialog answers null when it is closed without a choice.
Constructor
new GeoTiffTypeDialog(
params: IGeoTiffTypeDialogParams,
): GeoTiffTypeDialogParameters
params(IGeoTiffTypeDialogParams) — Options:params.fileName(string) — File name, shown as a plain text.params.onClose(function) — Takes the answer when the dialog is closed.
Instance Methods
positionNearElementOnFirstOpen(anchorEl, rootEl, gap, placement)
Inherited from Dialog#positionNearElementOnFirstOpen
Overrides: Dialog#positionNearElementOnFirstOpen
Places the dialog next to an anchor element, once, on its first open.
Parameters
anchorEl— Element to place the dialog against, e.g. the control toggle button.rootEl— Container the dialog is kept inside of, the dialog parent by default.gap(default: 8) — Distance between the anchor and the dialog in pixels.placement(default: "right") — "right" opens the dialog right of the anchor, mirrored to its left when the anchor sits in the right half of the container; "below" opens it underneath the anchor.
Instance Fields
dock
Inherited from Dialog#dock
Overrides: Dialog#dock
Side this dialog asks to open docked to.