Zum Hauptinhalt gehen

Configure the legend in print template to include only the layers which appear in the map extent

Kommentare

3 Kommentare

  • Mike Ketler
    Hi,

     

    Use the code gallery sample below, it should do exactly what you want.

     

    https://support.geocortex.com/essentialsGSCCodeGallery?id=kA4600000004EZ9

     

    Thanks,

     

    Mike Ketler
    0
  • Permanently deleted user
    Hi Mike,

     

    Thank you for replying, but I tried this code before and it’s only remove the layer that you setup in the text file which I can use the manager to remove these layers from the legend.

     

    What I’m looking for is to show only the layers in the recent map extent, I need only to show the layers that appear in that extent or at least to have the legend in two column instead of one.

     

     

     

    Cheers,

     

    Rawan

     

     
    0
  • Permanently deleted user

    Hi Mike K.,

     

    It sounds like the solution you suggested might be helpful in my scenario where I would like to allow the user to designate which layers to include in the legend. I currently have to turn them off in Essentials at the user's request. I know this is an old thread and when I follow the link above it leads me to the old support center but not the code I am looking for.

     

    Thanks

    Mike U.

    0

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