Zum Hauptinhalt gehen

Customize LayerList module - add hyperlink/button

Kommentare

4 Kommentare

  • Max Molello
    I really like this idea, not sure why I never thought of that. Hopefilly someway has a way to make it happen.
    0
  • Zack Robison
    If I'm not mistaken then this would need to be a viewer modification.  You can add an idea to the idea's section, or write it yourself... adding a button isn't too difficult but takes some knowhow.  Usually I see custom js like this written as its own standalone script and included in the viewer's resources call as described in "Add a right click menu (https://support.geocortex.com/essentialsGSCCodeGallery?sub-nav=codegall&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_DETAIL&criteria=BESTANSWERS&id=kA4600000004EVCCA2) ".
    0
  • Permanently deleted user
    I like the idea also... perhaps you can add this in the 'ideas' section so the user base can then vote on it?
    0
  • Permanently deleted user
    Added to ideas. I attempted to modify the LayerList.js file by adding an a tag with href = command:ShowLayerCatalog within the UL tag for the layer list items.  The link appeared perfectly, but it didn't actually fire the command to show layers.
    0

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