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

Consider both tracing directions when within snap tolerance #14057

Merged
merged 2 commits into from Aug 25, 2022

Conversation

tschaub
Copy link
Member

@tschaub tschaub commented Aug 25, 2022

The draw interaction doesn't always support switching trace direction currently (it only works if you start snapped to a vertex). This change makes it always possible to switch trace directions.

I've also updated the tracing example and added types for flat styles on the draw and modify interactions (this was already supported, but just not included in the type annotation).

Copy link
Member

@ahocevar ahocevar left a comment

Choose a reason for hiding this comment

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

Nice!

@github-actions
Copy link

📦 Preview the website for this branch here: https://deploy-preview-14057--ol-site.netlify.app/.

@tschaub tschaub merged commit 044540f into openlayers:main Aug 25, 2022
@tschaub tschaub deleted the trace-update branch August 25, 2022 15:25
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.

None yet

2 participants