Hoppa till huvudinnehållet

layer catalog question regarding groups

Kommentarer

1 kommentar

  • Permanently deleted user
    Hi Mike,

     

    We're running version 2.7.2 of the HMTL5 Viewer, and in the 'HTML5 Administrator and Developer Guide', under the section on the 'LayerCatalog Module' (p.212 in our version), there is a description of the configurations available for this tool.

     

    If you search your viewer .json files for the text "moduleName": "LayerCatalog", you will find the location to configure this module.

     

    We set the checkboxes visibility to "all", as below, which provides checkboxes for all groups and layers listed in the Layer Catalog:

     

      "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": "<b>all</b>", "suffix": "_GROUP" } }

     

    I believe by using the visibility setting of "configuredOnly" you can then enter a suffix value that corresponds to layer names or groups that you want to have checkboxes for. Although I haven't tried this, it sounds a bit unwieldy to me and I think the "all" option is probably the most useful in most cases.
    0

Du måste logga in om du vill lämna en kommentar.