Hoppa till huvudinnehållet

Turning of more than just 1 layer

Kommentarer

3 kommentarer

  • Nico Burgerhart

    Which viewer are you targeting?

    0
  • Luc Hoofd

    Geocortex viewer for HTML5

    0
  • Zack Robison

    I recommend using a ForEach, personally I'd start with an object structured like 

    {
        layerId1: [sublayerId1, sublayerId2], 
        layerId2: [sublayerId3]
        …
    }

    iterate that will give you each layer (layer1: [sub1, sub2]) then nest a forEach to run Set Visibility on the sublayers.

    0

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