Read the statement by Michael Teeuw here.
MMM-Flights no map ist shown
-
No map is displayed. I have also tested the original settings from the installation.
The flights are displayed.{
module: “MMM-Flights”,
position: “top_center”,
config: {
laMin: 50.08,
laMax: 50.28,
loMin: 7.38,
loMax: 7.8,
}
},mapUrl: “https://{a-c}.tile.openstreetmap.de/{z}/{x}/{y}.png”, // you can bring your own map
mapAttributions:
‘© OpenStreetMap contributors’,
mapHeight: “300px”,
mapFixedArea: true, // if set, the defined area is shown, if not the area is calculated from the plane locations
mapPosition: “top”, // “top” or “bottom”Danke
-
@OmaBosselt said in MMM-Flights no map ist shown:
so you see the plane icons without a map in the background?
Never saw this before …
https://{a-c}.tile.openstreetmap.de/{z}/{x}/{y}.png
you could try another map, e.g. replace the above
.de
in the url by.com
or.fr
Are there any errors in the logs? What hardware are you runing, is there enough memory?
-
I see an empty space and below it the table with the flights. The black plane icons on the black map area are invisible or not present. The white flight numbers on the plane icons are invisible.
@karsten13 said in MMM-Flights no map ist shown:
Never saw this before …
https://{a-c}.tile.openstreetmap.de/{z}/{x}/{y}.png
This is the original line 36 from MMM-Flights.js
.com, Now IThere are errors in the logs, but not from MMM-Flights.
Now I see the flight numbers in the black field. Probably the plane icons are also on site. Unfortunately no map. But I can zoom out from 10km. It must be the map setting.
Hardware: PI 3 B 64GB
Thx
-
can not reproduce this on my side …
There are errors in the logs, but not from MMM-Flights.
where did you look? In the logs which are produced by mm on the command line or in the dev console of the web browser (Ctrl+Shift+I)?
-
I’ll take a close look at the logs.
What exactly are your openmaps settings? Then I’ll test them. I have selected the same section in the config as with Flightradar. Should that be the problem? It can only be something really stupid…maybe I got bogged down there.
You don’t know…LG
Sabine
-
I’m testing with an empty config:
{ module: "MMM-Flights", position: "top_left", config: { } },
May you can try this to see if it changes something …
-
can reproduce it if I use a nonexisting mapUrl, so I think you have a typo in your mapUrl …
-
@karsten13
but into the line mapUrl: “https://{a-c}.tile.openstreetmap.de/{z}/{x}/{y}.png”
and therefore could not have been caused by a typing error. I will check it anyway. You only have to enter the coordinates 2x in config.js and MMM-Flights.js.
With openstreetmap I am not able to export my own map address. Somewhere I don’t understand something fundamental.
Thanks -
Heureka or not but it works fine… for me. :o)
mapFixedArea: true, // if set, the defined area is shown, if not the area is calculated from the plane locations
Thanks