An interactive map that displays the locations of all verified food trucks in San Francisco. Live Demo: http://samgruskin.com/experimental/sf-food-trucks/index.html
==============
Project: San Francisco's Food Trucks
Author: Samantha Gruskin sam@samgruskin.com
Additional Info: The truck location data is pulled from DataSF's Mobile Food Permit database, and then each of these vendors is cross-referenced with Yelp's Business listings to ensure that the food truck/stand is actually open and is legit (if it's a good food truck, people should've reviewed it!). By pulling Yelp data, we are also able to have additional information about the business readily available (phone number, Yelp business URL, etc.) which is then displayed in the information card when a food truck pin is clicked on.
-
Features:
- Info cards for each food truck pin containing a thumbnail, phone number, food
offerings description, and a business URL.
- Current location finder button.
- San Francisco-centric location search.
- Info cards for each food truck pin containing a thumbnail, phone number, food
offerings description, and a business URL.
-
Known issues:
- Load time: This could be improved (with more time working on this project) by storing this data in a database on my own server, and refreshing this database in the background via a cron job which runs daily (the food truck listings probably don't change often enough to justify pulling this data every single time the application is run!)
-
File List:
oauth.php // PHP OAuth Library
food_truck_data.php
index.html
images/- food_truck_icon.png
- geoloc.png
- loading.gif
- food_truck_icon.png