Hoppa till huvudinnehållet

Get Layer using layer groups.

Kommentarer

3 kommentarer

  • Permanently deleted user

    Mark,

     

    What I do is use AGOL Assistant of Item Manager to get the ID of the layer and use that in Get Layer =>LayerId. One other approach could be Get Map en loop trough all the layers and find the LayerID based on LayerName

    0
  • Mark Norbury

    Using AGO Assistant is overly complicated in my opinion and we shouldn't have to do that. In any case, I've managed to use it to get the id of the layer, which I use as the Layer Id in my Get Layer activity, mapLayer, which now returns the URL of the map service. However it still doesn't have a value for $mapLayer.sublayer.id and I need this for the Show Results and Set Layer Visibility activities.

    0
  • Permanently deleted user

    Mark,

     

    I agree with you but this are the only 2 ways how I see it. One other approach could be using parameters. But when you work wit Set Layer Visibility this would probaly mean a lot of parameters...

     

    If you find a better way please let us know.

     

    Erik

    0

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