Zum Hauptinhalt gehen

How to add more than one layer from the Layer Catalog at once?

Kommentare

2 Kommentare

  • You have to edit the viewer json files.

     

     

    Desktop.json.js, Handheld.json.js and Tablet.json.js

     

     

    Search for "layerCatalogProviders"

     

     

    Add the parameter "checkboxes": {"visibility":"all"}, at the end of layerCatalogProviders object block.

     

     

    like this

     

     

    {

     

            "moduleName": "LayerCatalog",

     

            "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.layerCatalog.LayerCatalogModule",

     

            "deferLoading": true,

     

            "configuration": {

     

              "layerCatalogProviders": [

     

                {

     

                  "type": "geocortex.essentialsHtmlViewer.mapping.modules.layerCatalog.EssentialsSiteProvider",

     

                  "enabled": true

     

                },

     

                {

     

                  "type": "geocortex.essentialsHtmlViewer.mapping.modules.layerCatalog.AssemblyProvider",

     

                  "enabled": false

     

                }

     

              ],"checkboxes": {"visibility":"all"}

     

            },

     

     

     

     

    Then it should work
    0
  • Emily Renkema
    This worked great! Having the Select All option for each group is perfect. I'm also going to check and see about having an Idea where this can be configured in Essentials Manager. Thank you so much!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.