adapt index.html to new map widget