• 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

Scheduled Pinned Locked Moved Utilities
7 Posts 4 Posters 1.0k Views 3 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.
  • N Offline
    N6NG
    last edited by N6NG Apr 2, 2022, 12:00 AM Apr 1, 2022, 11:58 PM

    Hi all… I’m trying to put the above module in my MM. I got it all installed ok but when I looked at it I can’t figure out what the line:
    mapUrl: “https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png”,
    really means… I find no reference to {s},{z},{x},{y} refers.
    I’m guessing x and maybe y are lat. and lon. but what is z? Distance above sea level? and what is the {s} following the https://. I’ve given up… I’ve looked all around including the reference to the other maps available but nowhere is there an explanation. I know I missed it but where is it? Thanks as usual…
    Dennis

    D 1 Reply Last reply Apr 2, 2022, 4:13 AM Reply Quote 0
    • D Offline
      drippyer @N6NG
      last edited by Apr 2, 2022, 4:13 AM

      @N6NG Assuming you are using jalibu/MMM-RAIN-MAP, the options in the README has the following info:

      `Option to use an alternative map. In most cases you are fine with the default but you can find more maps` here.
      
      Type: string
      Default value: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
      Alternative uncolored map: 'https://tiles.wmflabs.org/bw-mapnik/${z}/${x}/${y}.png'
      

      With here pointing at the Tile Servers wikipedia.

      It seems to me that the expected usage is to leave the {s}, {x}. {y}, and {z} alone.

      N 1 Reply Last reply Apr 2, 2022, 9:51 PM Reply Quote 1
      • N Offline
        N6NG @drippyer
        last edited by Apr 2, 2022, 9:51 PM

        @drippyer Well I left it as the stock value but I’m still not getting the background map. I see indications of rain but no map to see where the rain is falling. I have tried to use other maps also but still no background map on my RAIN-MAP
        Dennis

        S 1 Reply Last reply Apr 2, 2022, 9:56 PM Reply Quote 0
        • S Offline
          swvalenti Project Sponsor @N6NG
          last edited by Apr 2, 2022, 9:56 PM

          Try adding this to your config

          mapUrl: “https://a.tile.openstreetmap.de/${z}/${x}/${y}.png”,

          N 1 Reply Last reply Apr 2, 2022, 10:25 PM Reply Quote 0
          • N Offline
            N6NG @swvalenti
            last edited by N6NG Apr 2, 2022, 10:26 PM Apr 2, 2022, 10:25 PM

            @swvalenti I get the background map when I use that in my line and it works fine. But when I try to substitute the .de with .us or with .org (the original) I get no background map. All else staying the same.
            ???
            Dennis

            K 1 Reply Last reply Apr 2, 2022, 10:39 PM Reply Quote 0
            • K Offline
              karsten13 @N6NG
              last edited by Apr 2, 2022, 10:39 PM

              @N6NG

              see https://forum.magicmirror.builders/topic/12808/mmm-rain-map-new-version-2-x/152?page=16#

              N 1 Reply Last reply Apr 2, 2022, 10:46 PM Reply Quote 0
              • N Offline
                N6NG @karsten13
                last edited by Apr 2, 2022, 10:46 PM

                @karsten13 Thank you… that explains a lot…
                I’ll keep my eyes open.
                Dennis

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  7/7
                  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