Select to view content in your preferred language

Open side panel at start

6737
12
Jump to solution
03-18-2015 11:05 AM
SébastienMartin
Regular Contributor

On a web app created with webapp builder, how can I make the legend on the sidebar open at start?

I tried to insert this in \widgets\Legend\config.json

"openAtStart": true

It's not working... Any idea?

Full config.json :

{
  "legend":{
    "arrangement": 0,
    "autoUpdate": true,
    "respectCurrentMapScale": true,
    "openAtStart": true
  }
}
12 Replies
SébastienMartin
Regular Contributor

Stan you are my man! It was a Tab Theme, and with the change in the javascript, it works just fine!

Thanks for your time!

ThaoLe1
Deactivated User

Thanks Stan, it works very well for me also for the tab theme!

JohnVarghese
Occasional Contributor

Is there a way to insert an image (jpg) in the legend area?

P.S. Thanks for "openatStart" solution! Worked perfectly.

0 Kudos