A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-RAIN-MAP Zoom not working
-
Hi. I am unable to zoom into my property even after changing my defaultZoomLevel to 20. I have included part of the config.js file;
{ module: "MMM-RAIN-MAP", position: "bottom_left", config: { animationSpeedMs: 400, colorScheme: 20, colorizeTime: true, defaultZoomLevel: 20, displayTime: false, displayTimeline: false, displayClockSymbol: false, displayHoursBeforeRain: -1, extraDelayLastFrameMs: 1000, extraDelayCurrentFrameMs: 3000, invertColors: false, markers: [ { lat: 42.2132, lng: -82.8983, color: "red" }, ], mapPositions: [ { lat: 42.2132, lng: -82.8983, zoom: 8, loops: 1 }, { lat: 42.2132, lng: -82.8983, zoom: 8, loops: 2 }, { lat: 42.2132, lng: -82.8983, zoom: 8, loops: 1 }, { lat: 42.2132, lng: -82.8983, zoom: 8, loops: 2 }, { lat: 42.2132, lng: -82.8983, zoom: 8, loops: 2 }, ], mapUrl: "https://a.tile.openstreetmap.de/{z}/{x}/{y}.png", mapHeight: "420px", // must be a pixel value (no percent) mapWidth: "500px", // must be a pixel value (no percent) maxHistoryFrames: -1, maxForecastFrames: -1, substitudeModules: [], updateIntervalInSeconds: 300, } },
Thanks,
Brian -
@briantogo you have zoom set to 8 in the mapPositions,
that wins over defaultZoom -
That worked! Thanks for the help!
-
@briantogo awesome!!