Skip to main content

Determine which layer preset is active on VertiGIS Studio Web viewer in VertiGIS Studio Workflow

Comments

2 comments

  • Zack Robison

    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
  • Niels Willemot

    Zack Robison  Do you have perhaps an example worklfow of '
    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

Please sign in to leave a comment.