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

Draggable route markers starts on screen. #217

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

michaelkirk
Copy link
Contributor

@michaelkirk michaelkirk commented Mar 11, 2025

FIXES #72

They are persisted, which is convenient when you want to see how your changes are affecting the route, but it's confusing, especially for new users, to see this route off screen.

Another thought I had, literally after I'd done all the work and was typing up the commit message:
Maybe another approach would be to leave the logic as is, and zoom out the bounds to encompass the markers.

They are persisted, which is convenient when you want to see how your
changes are affecting the route, but it's confusing, especially for new
users, to see this route off screen.

Maybe another approach would be to zoom the bounds to encompass the
marker?
Copy link
Collaborator

@dabreegster dabreegster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a nice enough step forwards! Changing the zoom / panning out is a nice second idea if we don't get good feedback on this

returnToChooseProject,
route_pt_a,
route_pt_b,
routePtA,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thanks for cleaning this up. I struggle to switch between underscores and camel-case for Rust/JSON and TS

@dabreegster dabreegster merged commit 9d9b3ab into a-b-street:main Mar 11, 2025
1 check passed
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.

Auto-place route markers in a better spot
2 participants