Read the statement by Michael Teeuw here.
MMM-RAIN-MAP
-
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 -
@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
herepointing at the Tile Servers wikipedia.It seems to me that the expected usage is to leave the {s}, {x}. {y}, and {z} alone.
-
@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 -
Try adding this to your config
mapUrl: “https://a.tile.openstreetmap.de/${z}/${x}/${y}.png”,
-
@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 -
-
@karsten13 Thank you… that explains a lot…
I’ll keep my eyes open.
Dennis
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login