Skip to main content

How Do I Integrate Legend icons in Layer List?

Comments

7 comments

  • Permanently deleted user

    Hi Martha,

    The paragraph in Admin and Developer Guide which says:

    "You can set parameters that give you control over how the Layer List behaves, including which layers or layer groups

    are automatically selected when you click a layer, whether the Legend icons or swatches are integrated into the Layer

    List, or whether layers are expanded or hidden when the Layer List opens."

    is not quite accurate. There is neither support for legend settings nor expanding and collapsing the group layers in SimpleLayerList module.

    I will open a ticket to fix that part of the documentation.

    Thanks

     

    0
  • Permanently deleted user

    Dan,

    Are these items on a futures/wish list? if not, may we add them, please?

    Thanks,

    Martha

    0
  • Permanently deleted user

    I have added those two features to GVH Wishlist.

     

    Thanks

    0
  • Permanently deleted user

    Great! Thank you.

    Martha

    0
  • Permanently deleted user

    Looking forward to this improvement. Would would then like the option to remove the Show Legend button from the bottom of the Layer List - One less control for the users to understand.

    0
  • Permanently deleted user

    Stephen,

    You can hide the button with some custom css.

    .layerlist-footer {

     

        display: none;

     

    }

    .layerlist {

     

        bottom: 0px;

     

    }

     

    I use this in the reverse scenario where I only want a graphic legend without the ability to turn on/off layers.

     

    0
  • Permanently deleted user

    Worked a treat - thanks

    0

Please sign in to leave a comment.