User Interface properties
- Last UpdatedApr 23, 2024
- 1 minute read
The following table lists the properties to configure the UI in GISMapApp:
|
Property |
Description |
|---|---|
|
Geolocation |
Enable/disable geolocation control to get current position from device sensors. When true, a current position button is displayed over the map that enables to go to the location gather from device sensors. When the current location is acquired, the coordinates are written in the Location widget property. The first time this control is used it will prompt the user for permissions to access device location data. |
|
ShowFullScreen |
Show/hide full screen control. Full screen control displays a button in the top-right corner to display the map in full screen mode. |
|
ShowLayers |
Show/hide layers control. Layers control allows to get the current layers list, including grouping and visible state. Layer's visibility can be switched from the control. Layers that aren't visible because of zoom or resolution are grayed in the control. |
|
ShowMousePosition |
Show/hide mouse position control. Mouse position control displays the current pointer coordinates (using the projection specified in Projection widget property). |
|
ShowOverviewMap |
Show/hide overview map control. Overview map control displays a small map in the bottom-left corner with a rectangle showing the current extent. The map shown in this control is based on OpenStreetMap. |
|
ShowScaleLine |
To show or hide scale line. Show/hide scale line control. Scale line control displays a reference scale line in the bottom-left corner of the map. |
|
ShowZoom |
Show/hide zoom control. Zoom control displays two buttons to increase/decrease the zoom level. UI Control |
|
ShowZoomSlider |
Show/hide zoom slider control. Zoom slider control shows a vertical bar that allows to visualize and control the zoom level between the MinZoom and MaxZoom widget properties. |