Zum Hauptinhalt gehen

Refresh Map in GVH using Workflow 5

Kommentare

3 Kommentare

  • Permanently deleted user

    Hi @Kevin Rathgeber? ,

    You've got the right idea putting 17 into a Get Layer activity. You'll want to pass along =$layer1.layer instead of =$layer1.sublayer to the Refresh Layer activity.

     

    The viewer only uses a single web request whenever it draws map services that have multiple sublayers (which is good- it's nice and efficient). But that means that you'll have to "refresh" the whole map service at once with the Refresh Layer activity in scenarios where just one sublayer was updated.

    0
  • Kevin Rathgeber

    That worked. Thank you very much.

    0
  • Wout Peters

    Hi @Amanda Frech? 

    What would be best practice to refresh the entire map (multiple services) in GVH? The way I'm doing it now is to do a GetMap activity and then do a ForEach over all layerIDs ($map1.map.layerIDs). Inside the ForEach I'm doing a GetLayer and do the RefreshLayer.

     

    I have to include an If-statement now inside my ForEach because I have a vectorTile layer which errors on the RefreshLayer...

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.