Throws this error and map looks weird
Closed this issue · 4 comments
Deleted user commented
:8080/modules/MMM-RAIN-MAP/utils.js:147 Uncaught TypeError: Cannot read property 'overlayMapTypes' of null
at Function.clearLayers (:8080/modules/MMM-RAIN-MAP/utils.js:147)
at XMLHttpRequest.apiRequest.onload (:8080/modules/MMM-RAIN-MAP//MMM-RAIN-MAP.js:92)
Deleted user commented
tried a few things, nothing worked, any ideas? pic upcomfing for the odd-looking layering, might have to do with the error? im not sure, it only seems to happen some of the time also, maybe its the width not working nice with something... here's my config, took out my info
{
disabled: false,
module: "MMM-RAIN-MAP",
position: "top_left",
config: {
animationSpeed: 300,
backgroundColor: "rgba(0, 0, 0, 0)",
displayClockSymbol: false,
displayTime: false,
extraDelayLastFrame: 3000,
key: "xxx",
lat: 35.202099,
lng: -81.135597,
map: "GOOGLE",
mapTypeId: "terrain",
markers: [
{ lat: xxx, lng: xx },
],
onlyOnRain: false,
opacity: 0.65,
timeFormat: 24,
updateIntervalInSeconds: 600,
width: "420px",
zoom: 6,
zoomOutEach: 0,
zoomOutLevel: 1,
}
},
Deleted user commented
Deleted user commented
Deleted user commented
update - doesnt matter what size the window seems to be