Skip to main content

How to select a basemap; set basemap visibility

Comments

4 comments

  • Stefan Schweigert

    Hi Yannick,

     

    You should be able to use the Set Layer Property activity, using the opacity property on the basemap. In the GW5 - Get and Set Layer Property sample workflow, I've used this property on a map service to set the opacity temporarily to 0.4, then revert it back to 1.0.

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Hi Stefan,

    Thanks for the suggestion, but I'm afraid I didn't make myself clear; I have a basemap transparency slider group which I want to select as current basemap, using a workflow. It is important that the slider becomes visible, so the user can slide through different basemaps himself.

    0
  • Permanently deleted user

    Hi Yannick,

     

    I haven't tested this, but I would try using the RunCommand activity with "SelectBaseMap" per

    https://docs.geocortex.com/essentials/gvh/latest/commands-help/#/commands/Basemap/SelectBaseMap

    0
  • Permanently deleted user

    Thanks a lot Amanda, that's exactly what I wanted. It works! :)

    0

Please sign in to leave a comment.