MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    MMM-GoogleMapsTraffic

    Transport
    27
    87
    29990
    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.
    • cruunnerr
      cruunnerr last edited by

      Great, that worked. Thank you.

      Another question:

      Do you think its possible to show the map just at specific times.

      like in this module: https://github.com/jclarke0000/MMM-MyCommute

      so you were able to show the map just at times u need to know the traffic situation. for example i just need it Mo-Fr between 05:00-07:00 am and on Fr between 02:00-08:00 pm and Sa-So between 09:00am-02:00pm.

      its just an idea. Anyhow its a great module that worked now really fine for me 🙂

      K 1 Reply Last reply Reply Quote 0
      • K
        knubbl @cruunnerr last edited by

        @cruunnerr

        try mmm-scheduler . this is a modul which gives u the opportunity to schedule all modules to show and hide to a spedific time.

        nice if u have not enough space on ur screen and want to switch between modules by time

        1 Reply Last reply Reply Quote 0
        • A
          Aurelsam last edited by

          Hi everybody,
          Do you think it would be possible to include a marker on the map to see my house on the map I display?
          Thanks

          R 1 Reply Last reply Reply Quote 0
          • S
            sheddingmyskin last edited by

            Anyone else having issues with the map rendering streets / traffic /actual data rather than a blank frame? I have tried several of the forks, and they all end the same way. I have confirmed by use of MMM-Traffic that my API key is valid.

            config.js:

            modules: [
            		{
            			module: "alert",
            		},
            		{
            			module: "updatenotification",
            			position: "top_bar"
            		},
             // added Modules 
                            {
                                    module: 'MMM-GoogleMapsTraffic',
                                    position: 'bottom_right',
                                    config: {
                                            key: '************************',
                                            lat: '30.00000',
                                            lng: '-90.000000',
                                            height: '300px',
                                            width: '300px'
            	  	            }
                            },
            		{
            			module: 'MMM-Traffic',
            			position: 'top_right',
            			classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
            			config: {
            				api_key: '*******',
            				mode: 'driving',
            				origin: '**********',
            				destination: '*********',
            			//	mon_destination: '116th St & Broadway, New York, NY 10027',
            			//	fri_destination: '1 E 161st St, Bronx, NY 10451',
            				arrival_time: '0755', //optional, but needs to be in 24 hour time if used.
            				route_name: 'Home to Work',
            				changeColor: true,
            				showGreen: false,
            				limitYellow: 5, //Greater than 5% of journey time due to traffic
            				limitRed: 20, //Greater than 20% of journey time due to traffic
            				traffic_model: 'pessimistic',
            				interval: 60000, //1 minutes
            				showWeekend: false,
            				allTime: false,
            				startHr: 5,
            				endHr:   10,
            				hideOffHours: true
            			}
            		},
            
              //end of Module adds
            		{
            			module: "compliments",
            			position: "lower_third"
            		},
            ]
            
            

            0_1516249657158_MMM-GoogleTraffic.png

            1 Reply Last reply Reply Quote 0
            • cruunnerr
              cruunnerr last edited by

              @sheddingmyskin said in MMM-GoogleMapsTraffic:

                                          lat: '30.00000',
                                          lng: '-90.000000',
              

              This is wrong. Must look like this:

              lat: 30.00000,
              lng: -90.000000,
              

              Without the ’

              S 1 Reply Last reply Reply Quote 1
              • S
                sheddingmyskin @cruunnerr last edited by

                @cruunnerr
                Thanks! That was it. I had it like that to begin with, but using a different fork, that did not allow the module to appear at all. I changed at some point and thought I was making progress.

                1 Reply Last reply Reply Quote 0
                • A
                  alkank last edited by

                  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
                    rak @Aurelsam last edited by rak

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

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rak @rak last edited by

                      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
                        Smotx last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 4 / 9
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy