I changed the size and location of the map, and the style of the polygon.
var ui = H.ui.UI.createDefault(map, defaultLayers); // Now use the map as required... addPolygonToMap(map);