• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-RAIN-MAP Zoom not working

Scheduled Pinned Locked Moved Utilities
4 Posts 2 Posters 125 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    briantogo
    last edited by sdetweil 26 days ago 26 days ago

    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

    S 1 Reply Last reply 26 days ago Reply Quote 0
    • S Away
      sdetweil @briantogo
      last edited by sdetweil 26 days ago 26 days ago

      @briantogo you have zoom set to 8 in the mapPositions,
      that wins over defaultZoom

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        briantogo
        last edited by 24 days ago

        That worked! Thanks for the help!

        S 1 Reply Last reply 24 days ago Reply Quote 1
        • S Away
          sdetweil @briantogo
          last edited by 24 days ago

          @briantogo awesome!!

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy