• 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

Scheduled Pinned Locked Moved Transport
87 Posts 27 Posters 68.5k Views 28 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.
  • A Offline
    alkank
    last edited by Jul 6, 2018, 10:57 AM

    Hi guys,

    Is there anyway to change the Style of the map automaticaly according to sun like navigations systems?

    1 Reply Last reply Reply Quote 0
    • R Offline
      rak @Aurelsam
      last edited by rak Sep 2, 2018, 8:01 PM Sep 2, 2018, 8:00 PM

      @aurelsam asked for markers. I built this in a very generic way. Will create a pull request soon.

      R 1 Reply Last reply Sep 3, 2018, 6:21 PM Reply Quote 0
      • R Offline
        rak @rak
        last edited by Sep 3, 2018, 6:21 PM

        Hi,

        I added a pull request to the original module which adds markers and an option for transparent maps.

        Have fun.

        Regards
        Ralf

        1 Reply Last reply Reply Quote 0
        • S Offline
          Smotx
          last edited by Sep 24, 2018, 8:20 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            Smotx
            last edited by Smotx Sep 24, 2018, 1:24 PM Sep 24, 2018, 11:06 AM

            Hi,

            when I don’t activate this module, all my other modules work and display’s, when I activate this module, some modules are no longer displayed, such as: MMM-TPlink, MMM-CalendarExt, MMM-FreefoxMonitor.

            Anyone have an idea why?

            Thanks for help.

            1 Reply Last reply Reply Quote 0
            • T Offline
              tbs86
              last edited by Nov 28, 2018, 5:14 PM

              Every time i add this module and try to start the MM it tells me i have a syntax error and wont start any modules on my mirror.

              1 Reply Last reply Reply Quote 0
              • E Online
                evroom
                last edited by Nov 28, 2018, 5:35 PM

                Read this for learning purposes:

                https://forum.magicmirror.builders/topic/5399/how-to-check-your-config-for-errors-for-absolute-beginners

                If you post the config:check output and your MMM-GoogleMapsTraffic part inside config.js, I am sure someone can help you.

                Good luck.

                MagicMirror version: 2.30.0
                Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                Test environment:
                MagicMirror version: v2.30.0
                Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                T 2 Replies Last reply Nov 28, 2018, 5:37 PM Reply Quote 1
                • T Offline
                  tbs86 @evroom
                  last edited by Nov 28, 2018, 5:37 PM

                  @evroom thank you i will give this a shot when i get home and post my results

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tbs86 @evroom
                    last edited by Nov 29, 2018, 1:27 AM

                    @evroom ```here is my code

                    	{
                    		module: "calendar",
                    		header: "US Holidays",
                    		position: "top_left",
                    		config: {
                    			calendars: [
                    				{
                    					symbol: "calendar-check-o ",
                    					url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                    				}
                    			]
                    		}
                    	},
                    		
                    	{
                    		module: "compliments",
                    		position: "lower_third"
                    	},
                    	var config = {
                    modules: [
                        {
                            module: 'MMM-GoogleMapsTraffic',
                            position: 'bottom_left',
                            config: {
                                key: 'YOUR_KEY',
                                lat: 37.8262306,
                                lng: -122.2920096,
                                height: '300px',
                                width: '300px'
                                styledMapType: "transparent",
                                disableDefaultUI: true,
                                backgroundColor: 'hsla(0, 0%, 0%, 0)',
                                markers: [
                                    {
                                        lat: 37.8262316,
                                        lng: -122.2920196,
                                        fillColor: '#9966ff'
                                    },
                                ],
                            },
                        }
                    ]
                    

                    }

                    1 Reply Last reply Reply Quote 0
                    • E Online
                      evroom
                      last edited by Nov 29, 2018, 9:21 PM

                      Yes, the README tricked you a bit.

                      Remove this:

                      var config = {
                      modules: [
                      

                      and the last 2 lines:

                      }
                      ]
                      

                      Verify with:

                      cd ~/MagicMirror; npm run config:check
                      

                      MagicMirror version: 2.30.0
                      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      Test environment:
                      MagicMirror version: v2.30.0
                      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      T 1 Reply Last reply Nov 30, 2018, 12:24 AM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 5 / 9
                      • 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