Actually, you can add as many onScreen Widgets as you want to the map itself (not just 3 or 5 as stated)... just modify the Server\\apps\##\config.json...
There is a widgetOnScreen portion... here you can simply keep adding more on screen widgets (does not have to be in the controller.
Add the new widget to the widget pool, if it is not already there...
add the widget to mobileLayout if desired.
"widgetOnScreen": {
"widgets": [
{
{
"position": {
"left": 55,
"top": 45,
"relativeTo": "map"
},
"placeholderIndex": 1,
"id": "_38",
"name": "Share",
"label": "Share",
"version": "1.1.2",
"uri": "widgets/Share/Widget",
"config": "configs/Share/config_Share.json"
}
Just give it a position a new ID and name, point to the URI and config of the widget... you can add as many as you want!
See next posting for example