-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Do these, if user location is set:
Calculations
calculate direct (i.e. approximate) distance using Google Maps Geometry library ->DONEcomputeDistanceBetween()- For highest ranked (i.e. cheapest / nearest) n stations, get more accurate driving distance using Google Maps Directions API
Storing results
Store type of distance data (i.e. direct "as crow flies" or driving distance), use 1 decimal (=100m) accuracyDONE- Store to user data at what location distances where last calculated. Since we follow user location changes --> re-calculate distances if user location has changed from that e.g. by 50 meters (to avoid unnecessary calculations)
Displaying distances
Display distance in list view and in station details viewsDONEDisplay appropriate indicator for distance type (e.g. car-icon for driving distance, aeroplane/bird-icon? for direct distance)DONE
Reactions are currently unavailable