Hoppa till huvudinnehållet

Remove layers from Create Features Layer List

Kommentarer

5 kommentarer

  • Permanently deleted user
    On a similar note, is there a way to make only layers in the current theme show up in the Create Features layer list?
    0
  • Jeff Pope
    Did you get an answer for this yet? I have the same issue
    0
  • Permanently deleted user
    I'd like to know how to this very thing! +1
    0
  • Permanently deleted user
    Found it!

     

    If you search for the following text in the json of the viewer, it's within the Menu module and inside the id LayerActions, you can remove the text in strikethrough.

     

                  "id": "LayerActions",

     

                  "description": "@language-layer-actions-desc",

     

                  "defaultIconUri": "Resources/Images/Icons/arrow-right-alt-24.png",

     

                  "items": [

     

                    {

     

                      "text": "@language-menu-add-a-feature",

     

                      "description": "@language-menu-add-a-feature-desc",

     

                      "iconUri": "Resources/Images/Icons/Toolbar/feature-create-24.png",

     

                      "command": "ShowFeatureTemplatePicker",

     

                      "hideOnDisable": true

     

                    },
    0
  • Amanda Frech
    Glad you found what you were looking for Warren.  For others, this can be achieved through the Manager as well by deleting "Create a feature", which is found under Viewer > Context Menus > Layer Actions.

     

    Be aware that this will remove the "create a feature option" in the layer actions menu for all editable layers and not just select ones.

     

    Hope that helps,

     

    Amanda
    0

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