Hoppa till huvudinnehållet

Kommentarer

5 kommentarer

  • Berend Veldkamp

    Have you seen the Set Layer Visibility activity?

    0
  • Austin Hildreth

    I am using the Get Layer with the 

    Layer ID = https://<SERVER>/server/rest/services/ThurstonInt/emap_standard/MapServer

    Sublayer ID = 49

    Then in the Set Layer Visibility I am setting $layer1.layer, $layer1.sublayer and true.

    I get the labels for the layer but not the layer symbology.

    0
  • Berend Veldkamp

    There's some pretty good documentation on activities, click on and then Help with this activity to open it

     

    What you have for Layer ID is not a layer ID, it is the layer's service URL. Get Layer uses either the layer name as input, or the layer ID from the webmap.

     

    Set Layer Visibility also takes either the name or ID of the layer as input, so you can use the same value as the one used in Get Layer (or, if you wish, =$layer1.layer.id)

     

    Sublayer is only used in the HTML viewer, so if you're not using that you can ignore it.

    0
  • Austin Hildreth

    What is the purpose of this URL?

    0
  • Austin Hildreth

    Here is an article to get a layer ID and Sub ID.  I found it in the app.json file after downloading the app from Studio Web.  

     

    https://support.vertigis.com/hc/en-us/articles/16278916808466-How-to-configure-the-Get-Layer-activity-s-inputs

    1

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