Add theme management #1284
Labels
module:client/plugin
Functionality that goes into plugins in client
plugin:layerswitcher
Functionality and features of the LayerSwitcher plugin
Description
Quick Layers
is a feature to manage layers within theLayerSwitcher
tab. The purpose of the feature is to get quick access to layers often used. One advantage of usingQuick Layers
is that a collection of layers can be included where not all of them need to be visible from the start. Layers can be added manually or loaded from pre-defined packages for all users. The package owner creates theQuick Layers
, exports the settings to JSON, and the administrator registers the new package ofQuick Layers
. It will also be possible for the user to save, edit and load their ownQuick Layers
.Proposed Features
Quick Layers
Group:LayerSwitcher
.Quick Layer
group.Functionality:
Quick Layer
group behave similarly to other layers in theLayerSwitcher
(visibility toggle, access layer information).Quick Layer
group to theQuick Layer
group.Quick Layer
Package Components:Loading pre-defined
Quick Layers
LayerSwitcher
to load pre-defined collections of layers.Quick Layer
package from the list.Quick Layer
package will load, replacing the current layers and settings in theLayerSwitcher
tab.Creating user-defined
Quick Layer
LayerSwitcher
, press the “More” icon and click on the option “Add to Quick layers” to build a collection of layers.Quick Layers
Group for personal packages.Quick Layer
collection.Quick Layer
collection.Quick Layer
collection will be stored usingLocal Storage
and is available to load.Example of JSON structure
Implementation Steps
Quick Layers
structures and create a JSON example configuration with demo layers.Quick Layer
loading functionality with confirmation dialogs andSnackbar
notifications.Quick Layer
configurations.Summary
Implement the
Quick Layers
feature in theLayerSwitcher
tab to simplify loading, managing, and sharing pre-defined sets of layers and their associated settings.The text was updated successfully, but these errors were encountered: