Determine which layer preset is active on VertiGIS Studio Web viewer in VertiGIS Studio Workflow
Does anyone have any idea how I can determine which layer preset is active on VertiGIS Studio Web viewer in a VertiGIS Studio Workflow?
-
I don't, but you can use Get Map and iterate its layers to determine visibility. It's going to require some logic, obviously it's not as quick for you to develop than just executing a viewer command.
I remember searching around for a property in the app (which I get the get-current-layout operation) but am not sure that it hangs out where you can find it. My solution to that problem was to remove the builtin presets and replace them with a WF which executes the set-layer-preset command and saves the user selection in app state. The updates to app state since then now allow us to use cookies so you can save & reapply the preset across sessions, which would be pretty slick.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar