hyperlink into a legend

247
4
12-06-2017 10:00 AM
Lake_Worth_BeachAdmin
Regular Contributor

I have a web map and a web app. The Web App shows the legend with appropriate items es expected.

Is there a way to embed a hyperlink into the layer name inside the legend? I tried using

<a href="url">link text</a> for the layer name in the web Map hoping this would transfer into the application legend but "<" ">" are not valid chars for layer names. any suggestions?
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Joe,

  What Web App are you using?

0 Kudos
Lake_Worth_BeachAdmin
Regular Contributor

I am currently using "Public Information" template, however I can switch to any template but one of my app requirements is to have the legend appear on a side panel by default when the app is opened without any user interaction required. If the legend is shown by default in another app and has the capabilities to use hyperlinks in them that would be ideal.

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Joe,

   If the app is hosted on AGOL and not your own server them I don't have an option for you. But if you are downloading the app and hosting it on your own web server then I can help.

Lake_Worth_BeachAdmin
Regular Contributor

That is ok thank you for the reply though

0 Kudos