Mathias,
OK, I found the issue. in the main config.json you have:
{
"uri": "widgets/MyLocation/Widget",
"position": {
"left": 7,
"top": 110,
"relativeTo": "map"
},
"version": "1.4",
"id": "widgets_MyLocation_Widget_12",
"name": "MyLocation",
"label": "Min plats",
"config": {
"locateButton": {
"geolocationOptions": {
"timeout": 300
},
"highlightLocation": true,
"useTracking": true
}
}
},
and it needs to be:
{
"uri": "widgets/MyLocation/Widget",
"position": {
"left": 7,
"top": 110,
"relativeTo": "map"
},
"version": "1.4",
"id": "widgets_MyLocation_Widget_21",
"name": "MyLocation",
"label": "My Location"
},
The config property is only expecting a path to the json not an actual json object. If the config property is not included then the widget will use the default config.json in the widgets folder.
See your app working properly here:
Work preview of your app