Skip to content

Distance by car using google maps API #1135

Description

@georgejung

Feature Summary

It would be great if the distance logic could change based on mode of transportation using the google maps API. I think right now distance is based on as the crow flies between two points. I would like it to reflect the actual distance i will be covering, since roads are not always a straight shot.

Problem Statement

I would like to be able to estimate how long it will take me to cover the distance and in certain areas there can be a signifcant discrepancy. Using the current approach sometimes the amount of time can be vastly underestimated due to speed or road design.

Proposed Solution

When using car, bike, or walk, the google maps api can calculate the distance based on that mode of transportation.

Alternatives Considered

I know the google maps API does this to some extent as I use the Waze integration in HA to get the time from where I am to get back to pick up the kids from school, not sure how easy it would be to port here.

Mockups / Examples (Optional)

No response

Additional Context

It also raises the idea of including a time field (right now i'm using flight number to manually enter the time from google maps) which would appear in the little card along with the distance. There are many route options but whatever the default is (likely fastest) should be fine.

Confirmation

  • I searched existing issues and confirmed this request is not a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogIdea or request that has not been reviewed yet.enhancementNew feature or request

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions