Skip to main content

Be able to select groups of layers from Layer Catalog

Comments

3 comments

  • Permanently deleted user
    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
    Ben
    0
  • Permanently deleted user
    Ben - Nice solution! That is an easy fix, adn I appreciate you sharing.
    0
  • Permanently deleted user
    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.