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.

    Bing-Traffic

    Scheduled Pinned Locked Moved Development
    4 Posts 2 Posters 2.0k 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.
    • C Offline
      campos
      last edited by

      Hello everybody. Is there any chance an exact guide how I can bring the traffic with maps over Bing in the mirror? My abilities are frighteningly weak … Have now three days tried to introduce the traffic module … Without success … It just is not displayed … I would like to try something different - Bing - to have at least some success. …

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

        I was able to achieve this with MMM-iFrameReload and an html file in that folder from google maps api… It looks something like this.

        {
        module: ‘MMM-iFrameReload’,
        header:‘Traffic Map’,
        position: ‘top_right’, // This can be any of the regions.
        config: {
        // See ‘Configuration options’ for more information.
        url: “http://localhost:8080/modules/MMM-iFrameReload/nameofhtmlfile.html”,
        width: “580px”, // Optional. Default: 400px
        height: “1100px”, // Optional. Default: 800px
        refreshInterval: 600 //Optional. Default: 3600 = 1 hour
        }
        },

        with this code below to make the map and save the html in the iframe folder

        https://developers.google.com/maps/documentation/javascript/examples/layer-traffic

        1 Reply Last reply Reply Quote 0
        • C Offline
          campos
          last edited by

          Hello. First thank you for the reply. Unfortunately, my abilities are still very weak … If I understood correctly: first install the module MMM-iFrameReload and insert the module into the Config.sys? From there I know but unfortunately no further … Where do I have to register? Sorry

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

            after that, put the HTML file in the MMM-iFrameReload directory…

            you generate the HTML file from this site
            https://developers.google.com/maps/documentation/javascript/examples/layer-traffic

            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