Be able to select groups of layers from Layer Catalog
I'm grouping my layers in Layer Catalog into Layer Groups. Often Users want all/most layers from a group, and it would be nice to allow them to check a box at the group level.
0
-
Mike,
I was able to do this by modifiying the Desktop.json.js and including the following lines"checkboxes": { "visibility": "all" }
in the LayerCatalog module as below:"moduleName": "LayerCatalog", "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.layerCatalog.LayerCatalogModule", "configuration": { "layerCatalogProviders": [ { "type": "geocortex.essentialsHtmlViewer.mapping.modules.layerCatalog.EssentialsSiteProvider", "enabled": true }, { "type": "geocortex.essentialsHtmlViewer.mapping.modules.layerCatalog.AssemblyProvider", "enabled": false } ], "checkboxes": { "visibility": "all" }
Hope that is what you are after.
Cheers
Ben0 -
Ben - Nice solution! That is an easy fix, adn I appreciate you sharing. 0 -
It was one of the reasons makes me think twice before using Layer Catalog. We're on 4.10 a bit out of date and I thought the latest viewer would have this option but seems it's not yet. Thanks Ben for the solution. Hope the next release of the viewer will have this option available by default. 0
Please sign in to leave a comment.
Comments
3 comments