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-Flights no map ist shown

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    9 Posts 2 Posters 1.1k 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.
    • karsten13K Offline
      karsten13 @OmaBosselt
      last edited by

      @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?

      1 Reply Last reply Reply Quote 0
      • O Offline
        OmaBosselt
        last edited by

        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 I

        There 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

        karsten13K 1 Reply Last reply Reply Quote 0
        • karsten13K Offline
          karsten13 @OmaBosselt
          last edited by

          @OmaBosselt

          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)?

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            OmaBosselt @karsten13
            last edited by

            @karsten13

            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

            karsten13K 1 Reply Last reply Reply Quote 0
            • karsten13K Offline
              karsten13 @OmaBosselt
              last edited by

              @OmaBosselt

              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 …

              karsten13K 1 Reply Last reply Reply Quote 0
              • karsten13K Offline
                karsten13 @karsten13
                last edited by

                can reproduce it if I use a nonexisting mapUrl, so I think you have a typo in your mapUrl …

                O 1 Reply Last reply Reply Quote 1
                • O Offline
                  OmaBosselt @karsten13
                  last edited by

                  @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

                  O 1 Reply Last reply Reply Quote 0
                  • O Offline
                    OmaBosselt @OmaBosselt
                    last edited by

                    @OmaBosselt

                    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

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