victor-savu / lunch-walk Goto Github PK
View Code? Open in Web Editor NEWPass by the food truck on your Lunch Walk
Home Page: https://lunch-walk.netlify.app/
License: BSD 3-Clause "New" or "Revised" License
Pass by the food truck on your Lunch Walk
Home Page: https://lunch-walk.netlify.app/
License: BSD 3-Clause "New" or "Revised" License
Provide a link with directions to the selected food truck. It may be an external link (e.g. to Google Maps)
Use the browser location as the starting point so that the user doesn't have to type in coordinates.
While in #4 we get accurate walking distances, as our customer base gets bigger/hungrier, we will make excessive calls to the Bing Maps API and run up a mighty bill.
Is there a way to buy the static maps data and implement some rudimentary query operations that would reduce our dependency on external APIs?
The original data from the city of San Francisco contains more information than we need.
Implement an adapter service that narrows the data down to the necessary columns.
Use a maps provider to get more accurate walking distances for ranking the food trucks.
Bing Maps seem to have a nice API for that, which might come in handy.
For the minimum functionality, present a web page with two input fields: latitude and longitude and a search button.
Display the 5 nearest food carts to the input location.
Approximation: use Euclidean distance and assume that latitude and longitude are Cartesian coordinates.
Note for later: This approximation, while good for a Proof of Concept, will break down pretty quickly. The Earth's curvature is negligible for our case, but elevation can change abruptly in San Francisco even over short distances, which affects walk times. Furthermore, the street layout will likely prohibit the user from walking in a straight line to any destination, so the Euclidean distance is an optimistic estimate.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.