Open AzidoTetrazole opened 4 years ago
Yes, it helps a lot !! Thank you
Still can't get the styles to change... { module: "MMM-GoogleMapsTraffic", position: "bottom_center", config: { key: "my key", lat: a place, lng: a place, height: "300px", width: "600px", zoom: 11, styledMapType: "night", disableDefaultUI: true, backgroundColor: "hsla(0, 0%, 0%, 0)", markers: [ { lat: 37.8262316, lng: -122.2920196, fillColor: '#9966ff' }, ], }, },
The default config code in the program is broken (missing comma's, missing brackets, single quotes instead of double quotes etc). I was able to get it working. Here is my current working config code for this module. I hope it helps someone else save some time and frustration!
{ module: "MMM-GoogleMapsTraffic", position: "top_center", config: { key: "YOUR GOOGLE MAPS JAVASCRIPT API KEY", lat: 45.0000000, lng: -100.000000, zoom: 6, height: "500px", width: "800px", styledMapType: "night", disableDefaultUI: true, backgroundColor: "hsla(0, 0%, 0%, 0)", }, },