• 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 : black screen by copying the code in config.js

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 4 Posters 2.9k Views 4 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.
  • R Offline
    RIKKO14
    last edited by Jun 28, 2020, 1:38 PM

    This post is deleted!
    S 1 Reply Last reply Jun 28, 2020, 1:42 PM Reply Quote 0
    • S Offline
      sdetweil @RIKKO14
      last edited by Jun 28, 2020, 1:42 PM

      @RIKKO14 thats why I suggested the link on modules for beginners, you have too many braces {} and brackets []

      just cutting and pasting what the author gives you is trouble if you don’t understand what ytou are supposed to do

      module entries no not HAVE to have a trailing , (comma) UNLESS there are more entries after

      and showing the module in that whole list is bad, cause people just copy… and boom you have TWO config entries and two module lists… not good…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • R Offline
        RIKKO14
        last edited by Jun 28, 2020, 2:02 PM

        ça y’est le module s’affiche enfin mais nouveau bug… la carte s’affiche et aussitot après un écran “problem” s’affiche… Pfff
        this the config.js modified :
        {
        module: ‘MMM-GoogleMapsTraffic’,
        position: ‘top_right’,
        config: {
        key: ‘AIzaSyBQnp-WYA1IdK9sZr0lfvrtUcQ5Qu02sNw’,
        lat: 49.182863,
        lng: -0.370679,
        height: ‘300px’,
        width: ‘300px’,
        styledMapType: “transparent”,
        disableDefaultUI: true,
        backgroundColor: ‘hsla(0, 0%, 0%, 0)’,
        markers: [
        {
        lat: 49.182863,
        lng: -0.370679,
        fillColor: ‘#9966ff’
        }
        ]
        }

        },

        1 Reply Last reply Reply Quote 0
        • R Offline
          RIKKO14
          last edited by Jun 28, 2020, 2:04 PM

          	{
                      module: 'MMM-GoogleMapsTraffic',
                      position: 'top_right',
                      config: {
                          key: 'AIzaSyBQnp-WYA1IdK9sZr0lfvrtUcQ5Qu02sNw',
                          lat: 49.182863,
                          lng: -0.370679,
                          height: '300px',
                          width: '300px',
                          styledMapType: "transparent",
                          disableDefaultUI: true,
                          backgroundColor: 'hsla(0, 0%, 0%, 0)',
                          markers: [
                              {
                                  lat: 49.182863,
                                  lng: -0.370679,
                                  fillColor: '#9966ff'
                              }
                          ]
                      }
                     
          }	
          
          1 Reply Last reply Reply Quote 0
          • R Offline
            RIKKO14
            last edited by Jun 28, 2020, 2:06 PM

            2020-06-28-155930_1920x1080_scrot.png
            2020-06-28-155938_1920x1080_scrot.png

            1 Reply Last reply Reply Quote 0
            • R Offline
              RIKKO14
              last edited by Jun 28, 2020, 2:46 PM

              that’s it the module finally appears but new bug … the map appears and immediately after a “problem” screen appears … Pfff

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