saml-dev / MMM-Traffic

This a module for the MagicMirror. It displays travel time between two locations, using the Mapbox directions API to factor in current traffic conditions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got stuck on Loading again

geekqq opened this issue · comments

I checked the history, looks like some one else had the same issue. But I did reboot and it still got stuck on "loading"
here is the config. part:
{
module: "MMM-Traffic",
position: "top_left",
config: {
accessToken: "pk.eyJ1IjoiZxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
originCoords: "-xxxxx,xxxxx",
destinationCoords: "-xxxxx,xxxxx",
}
},

I did the simplest way, please help me.
Thanks

Hi, can you double check that your coordinates are longitude,latitude? Google maps and other sources give latitude,longitude so you have to be sure to reverse them.

It's in the README, maybe I'll try to make it more visible. Enjoy the module!

Better yet, I'll take a look at the code and see if there's a way I can make it work either way so people don't have to worry about it