We at platform45 use it to display our driving times home so we know when to leave work to get home to our loved ones in time.
Uses json, uri and net/http net/https libraries.
To use this widget, copy
traffic.scss into the
/widgets/traffic directory. Put the
traffic.rb file in your
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li class="purple" data-row="1" data-col="1" data-sizex="1" data-sizey="2"> <div class="purple" data-id="tomtom" data-view="Traffic" data-title="Home Time"></div> </li>
You'll need to grab your office location and everyone's home address location from tomtom's maps here, and add them as shown to office_location and the location array.
You'll also need to generate a tomtom developer api key, this is free, it just takes 24 hours to activate. Get one here.