Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location is only set to markers on line, not points along line #137

Open
jasonhibbs opened this issue Jan 9, 2025 · 2 comments
Open

Location is only set to markers on line, not points along line #137

jasonhibbs opened this issue Jan 9, 2025 · 2 comments

Comments

@jasonhibbs
Copy link

The new line feature is very exciting, and I can see it draws lines from paths on the map.

However, when I press play, the location is only set to wherever the marker was set – is that expected?

If so, interpolation is my feature request!

– Thanks for keeping spoofing alive on iOS 🙏

@davesc63
Copy link
Owner

davesc63 commented Jan 9, 2025

If I understand correctly, it’s expected.

You draw the route and each marker will have gps coordinates. We do set location to each of those points and we calculate time to travel between points based on the speed selected.

Will need to have a look at how complex more math would be. What sort of “resolution” would you need between two points?

@jasonhibbs
Copy link
Author

jasonhibbs commented Jan 9, 2025

I’m testing turn-by-turn navigation so higher is better, but that can depend on speed of travel. Once a second would be plenty, so for walking that might be a point every ~1.4 metres.

The core UX friction is plotting; if straight lines made the math easier, straight lines would also reduce the number of points to be clicked. Anything to reduce the clicks!

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

No branches or pull requests

2 participants