Read the statement by Michael Teeuw here.
Traffic Maps (Any recent users?)
-
@awwbaker don’t know anything about the tomtom modules.
there are two places to look for debug info
in the output of npm start
if you are using pm2, then
pm2 logs --lines=xxxx
where xxxx is tye number of most recent lines to display, default 15
the second place is in the browser log
cttl-shift-i, then select the console tab, and put a unique part of the module name in the filter field -
@awwbaker I put this on my system , and only had one problem
there is a syntax error in the sample, a missing trailing comma
{ module: 'MMM-GoogleMapsTraffic', position: 'top_right', config: { key: 'my key', lat: 37.8262306, lng: -122.2920096, height: '300px', width: '300px' // <------ here styledMapType: "transparent", disableDefaultUI: true, backgroundColor: 'hsla(0, 0%, 0%, 0)', markers: [ { lat: 37.8262316, lng: -122.2920196, fillColor: '#9966ff' }, ], }, }
now, I DID you my fork of this module which fixed a couple problems, since the author has not updated in quite a while… I am still 3 changes up from that code…
-
Mr @sdetweil,
Thank you so much your help. Had put the module in the lower right. On your suggestion I saw a warning message for “this module cannot be in that location.” Not an exact quote, but that was the flavor. Moved the module to center bottom and GoogleMap version worked. Really cool, thank you. I too found the comma issue! Do you know the syntax to “update” a module versus installing fresh??? I am going to try the TomTomIncident module and see if that was a similiar issue. If useful I will report out here on findings. Again, thank you for yout time, be safe Anthony -
@awwbaker to update a module that has changes is exactly like for MagicMirror
go to the module folder, and enter this command
git pull
then do
ls package.jsonif you do NOT get an error, then do
npm install -
@sdetweil Roger wico will give update a try…btw, installed and tested TomTomIncident module. That one is working too! Thank you! Anthony