Class: UIMainContainer

UIMainContainer

Class representing the main container of the remote sensing user interface. This class extends UIBase and manages various components like top navigation bar, info container, and legend.

new UIMainContainer()

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 19
Properties:
Name Type Description
__layer GoRemoteSensing

The layer that contains the UI.

__infoRSContainer UIPanelContainer

The info container.

Since:
  • 3.3.0
See:
Example
import { GoRemoteSensing, UIMainContainer } from "go-remote-sensing";
const layer = new GoRemoteSensing();
const mainContainer = new UIMainContainer(layer);
const container = mainContainer.getContainer();
const layerContainer = mainContainer.getLayer();

Extends

  • undefined

Methods

__addContainerToMap(){void}

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 140

This method adds the container of the UI to the current map.

Returns:
Type Description
void

getId(){UIVRSIds}

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 149

This method assing the id to the current container.

Returns:
Type Description
UIVRSIds

getInfoRSContainer(){UIPanelContainer}

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 116

Retrieves the information container component.

Returns:
Type Description
UIPanelContainer The information container component.

getLang(){UILang}

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 108

Allow to get the current lang of the UI.

Returns:
Type Description
UILang The class that handles the lang of the UI.

getLayer(){GoRemoteSensing}

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 157

This method return the layer of this UI.

Returns:
Type Description
GoRemoteSensing The layer that contains the UI.

getRangeSlider(){UIRangeSlider}

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 84

Allow to get the RangeSlider of the UI.

Returns:
Type Description
UIRangeSlider The options of the UI.

getTheme(){UITheme}

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 100

Allow to get the current theme of the UI.

Returns:
Type Description
UITheme The class that handles the theme.

getUIOptions(){UIOptions}

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 92

Allow to get the options of the UI.

Returns:
Type Description
UIOptions The options of the UI.

setInfoContainer(infoContainer)

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 63

Replaces the current info container with a new one.

Name Type Description
infoContainer UIPanelContainer

The new info container to set.

update()

Layers/GoVerticalRemoteSensing/clases/UI/components/UIMainContainer/index.ts, line 130

Update the RSUI information container. Creates a new instance and updates the main container with it.