##Description
Dashing widget to display location based food establishments from Google Places API.
##Usage
To use this widget copy places.html
, places.coffee
and places.scss
into the /widgets/places
directory. Put the places.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
<div data-id="places" data-view="Places"></div>
</li>
##Settings
- Google Api Client Key from the API console
- Latitude and Longitude for your desire location.
- radius search from the desire location in meters.
- A new food establishment is fetched every 5 minutes, but you can change that by editing the job schedule