Hello Sam
I’m pretty new to MagicMirror configuration. I tried installing the MM-Traffic 2.0 module.
I believe I have followed the steps but all I get is “Loading…” on my display.
I think the problem lies in the API key which i created at MapBox. I don’t really know if I created it correctly on the Mapbox website as there was no information to go by.
I created a project and created a key for it. is there any special steps, linkings, or guidance on the creation of the Mapbox API key?
I literally copied your basic module code into the config.js script and pasted my key to see if it works, but it doesn’t.
just an FYI I tried with both ’ and "
{
module: ‘MMM-Traffic’,
position: ‘top_left’,
config: {
accessToken: ‘sk.eyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.X_XXXXXXXXXXXXXXXXXXXX’,
originCoords: ‘-84.398848,33.755165’,
destinationCoords: ‘-84.504259,33.88210’,
}
},
Any advise would be appreciated.