• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-GoogleMapsTraffic: "For Development purposes only"

Scheduled Pinned Locked Moved Solved Troubleshooting
5 Posts 2 Posters 970 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.
  • F Offline
    Fufu1408
    last edited by Oct 25, 2021, 11:46 AM

    Hello, everyone,

    I inserted the GoogleMaps map, it works too. A valid API is used for all functions as well as a billing account.
    The map is displayed normally at first, followed by an error message that the page could not be loaded correctly. I can confirm this but still have the message in the card that turns slightly greyish “For Development purposes only”
    What is wrong? My Config is:

    {
    			module: 'MMM-GoogleMapsTraffic',
    			position: 'bottom_right',
    			config: {
    				apiKey: 'My Key' ,
    				lat: 49.56324,
    				lng: 11.34776,
    				styleMapType: "dark",
    				disableDefaultUI: true,
    				backgroundColor: "rgba(0, 0, 0, 0)",
    				updateInterval: 15000,
    				height: '450px',
    				width: '450px'
    				}
    		},
    

    Thanks for help.

    Best regards

    Fufu1408

    S 1 Reply Last reply Oct 25, 2021, 12:29 PM Reply Quote 0
    • S Offline
      sdetweil @Fufu1408
      last edited by Oct 25, 2021, 7:11 PM

      @fufu1408 yep, one little typo will do that to you…

      I tested and see the same results, used the dev window and see the error,
      checked the module and sure enough…

      i’ll give u a hint… what is the spelling of the apikey parameter?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Nov 5, 2021, 11:37 PM Reply Quote 0
      • S Offline
        sdetweil @Fufu1408
        last edited by Oct 25, 2021, 12:29 PM

        @fufu1408 u are updating every 15 seconds? 15000 milliseconds…

        I would say a MINIMUM of 5 minutes

        5 * 60 * 1000

        but 10 or 15 mins might be better

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Oct 25, 2021, 12:48 PM Reply Quote 0
        • F Offline
          Fufu1408 @sdetweil
          last edited by Oct 25, 2021, 12:48 PM

          @sdetweil i change the updating thanks. but same problem with the development purposes only

          S 1 Reply Last reply Oct 25, 2021, 7:11 PM Reply Quote 0
          • S Offline
            sdetweil @Fufu1408
            last edited by Oct 25, 2021, 7:11 PM

            @fufu1408 yep, one little typo will do that to you…

            I tested and see the same results, used the dev window and see the error,
            checked the module and sure enough…

            i’ll give u a hint… what is the spelling of the apikey parameter?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Nov 5, 2021, 11:37 PM Reply Quote 0
            • S Offline
              sdetweil @sdetweil
              last edited by Nov 5, 2021, 11:37 PM

              it’s key:
              not apikey:

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              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