vicmora / MMM-GoogleMapsTraffic

A raspberry pi MagicMirror module that displays a map, centered at provided coordinates, with Google Maps Traffic information.
MIT License
88 stars 32 forks source link

=Not working #22

Open cayers71 opened 5 years ago

cayers71 commented 5 years ago

I've followed the instructions but am unable to get the module to work. In fact, MM shows no output onscreen at all for the maps module.

Where is the log output to? I was unable to determine by looking at the MMM-GoogleMapsTraffic.js file.

cayers71 commented 5 years ago

I removed the markers section of the config and the map is now working.

anthony6608 commented 5 years ago

Hi! I am having the same issue. Could you tell me specifically what markers you are referring to? Thanks!

cayers71 commented 5 years ago

There is a section in the config file that refers to markers. I was only able to get the module working after I removed that section of the config.

Another thing that I had to do was to make sure that the proper Google Maps API permissions were set.

Hope this helps.

On Tue, Jan 1, 2019, 8:50 PM anthony6608 <notifications@github.com wrote:

Hi! I am having the same issue. Could you tell me specifically what markers you are referring to? Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vicmora/MMM-GoogleMapsTraffic/issues/22#issuecomment-450772824, or mute the thread https://github.com/notifications/unsubscribe-auth/Arxgrly5cBMbQNI1RmO0QDYCeTezYOiTks5u_BBsgaJpZM4ZUyTF .

anthony6608 commented 5 years ago

Hey

Thanks for the response. Yep I realized what you were referring to after I posted and finally got my map to display but I’d like to style it a bit so I’m going to play with it tomorrow to see what can be done. Also how often is yours talking to the API? It seems mine pings google every 2 minutes or so which can get expensive?

On Jan 1, 2019, at 11:33 PM, cayers71 notifications@github.com wrote:

There is a section in the config file that refers to markers. I was only able to get the module working after I removed that section of the config.

Another thing that I had to do was to make sure that the proper Google Maps API permissions were set.

Hope this helps.

On Tue, Jan 1, 2019, 8:50 PM anthony6608 <notifications@github.com wrote:

Hi! I am having the same issue. Could you tell me specifically what markers you are referring to? Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vicmora/MMM-GoogleMapsTraffic/issues/22#issuecomment-450772824, or mute the thread https://github.com/notifications/unsubscribe-auth/Arxgrly5cBMbQNI1RmO0QDYCeTezYOiTks5u_BBsgaJpZM4ZUyTF .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

anthony6608 commented 5 years ago

Hey, I guess you can close this now since its resolved! Thanks

intermanus commented 5 years ago

Check the syntax of the module command. there is a missing comma.