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-Flights Kartendesign
-
Hallo,
ich habe MMM-Flights installiert und es funktioniert. Ich finde die Optik der Karte aber nicht ansprechend und würde diese gerne etwas farbiger haben. Nur wie ich das umstellen soll, ist mir nicht klar. -
from the README:
As default map openstreetmap is used, other maps are possible, you find a list here.
You also can use maps from mapbox and create own maps with mapbox studio.
With mapbox you have to provide
<username>(e.g.karsten13)<mapid>(e.g.cjp8vd7p807su2rqp8hc4dzoq)<accesstoken>
and set the
mapUrlinconfig.jstohttps://api.mapbox.com/styles/v1/<username>/<mapid>/tiles/{z}/{x}/{y}?access_token=<accesstoken>. -
Thanks for answer.
I read in the README that I can change the map. However, I don’t understand how to do that. -
you can set the
mapUrlin the config:var config = { modules: [ { module: "MMM-Flights", position: "top_left", config: { laMin: 50.0, laMax: 50.21, loMin: 8.4, loMax: 8.8, mapUrl: "https://{a-d}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png", }, }, ], };
