Skip to content

New distance and duration#41

Open
taytenb wants to merge 3 commits intomainfrom
new-distance
Open

New distance and duration#41
taytenb wants to merge 3 commits intomainfrom
new-distance

Conversation

@taytenb
Copy link
Copy Markdown
Collaborator

@taytenb taytenb commented Mar 1, 2025

  • Added straight-line distance calculation using Haversine formula
  • Added route-based distance/time calculation for walking, cycling, and driving modes
  • Integrated with OpenStreetMap routing API
  • Stored walking distance in listing database

…ne calculation, and walking, biking, and driving distance and time. In handle submit, distance holds all information for driving, walking, biking and straightLine with distance and duration attributes. Right now the distance holds the distance.walking.distance or just walking distance.
@riceapps-coolify
Copy link
Copy Markdown

riceapps-coolify Bot commented Mar 1, 2025

The preview deployment failed. 🔴

Open Build Logs

Last updated at: 2025-03-01 20:20:33 CET

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bunkmate-but-better ❌ Failed (Inspect) Mar 1, 2025 8:20pm

@leonriel
Copy link
Copy Markdown
Collaborator

leonriel commented Sep 4, 2025

TODOs before merging:

  • Create design to show each distance/time
  • Do we want to show times or distances?
  • How to modify database schema?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants