Add more Layer Toggle buttons to Launchpad Theme. Currently you can only use 3 button widgets at the top of the Launch pad theme. I would like to add up to 3 to 6 more. Can this be done? anyone willing to help more do this please?
Thanks.
Solved! Go to Solution.
See this thread for your answer:
See this thread for your answer:
I followed the instructions per the thread but after making the changes when i use WAB to launch/edit the app i just get the loading turning icon the app never opens. I went into the config.json and add the three new placeholders there. Under "widgetsOnScreen" object and its "widgets" array like so.
{
"uri": "widgets/Splash/Widget",
"visible": false,
"position": {
"relativeTo": "browser"
},
"version": "2.3",
"id": "widgets_Splash_Widget_46",
"name": "Splash"
},
{
"position": {
"right": 100,
"top": 20,
"relativeTo": "map"
},
"placeholderIndex": 1,
"id": "_47"
},
{
"position": {
"right": 150,
"top": 20,
"relativeTo": "map"
},
"placeholderIndex": 2,
"id": "_48"
},
{
"position": {
"right": 200,
"top": 20,
"relativeTo": "map"
},
"placeholderIndex": 3,
"id": "_49"
},{
"position": {
"right": 100,
"top": 40,
"relativeTo": "map"
},
"placeholderIndex": 4,
"id": "_47"
},{
"position": {
"right": 150,
"top": 40,
"relativeTo": "map"
},
"placeholderIndex": 5,
"id": "_48"
},{
"position": {
"right": 200,
"top": 40,
"relativeTo": "map"
},
"placeholderIndex": 6,
"id": "_49"
},{
"uri": "widgets/ExtentNavigate/Widget",
"visible": false,
"position": {
"top": 255,
"left": 25,
"relativeTo": "map"
},
"version": "2.3",
"id": "widgets_ExtentNavigate_Widget_50",
"name": "ExtentNavigate"
}
Never mind i got it, I forgot to change the "id": "_49" to 50, 51,52.
Thanks for the fast reply and help!