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

Trace points deviate from curve when zooming in #59

Open
elfalem opened this issue Mar 5, 2023 · 2 comments
Open

Trace points deviate from curve when zooming in #59

elfalem opened this issue Mar 5, 2023 · 2 comments

Comments

@elfalem
Copy link
Owner

elfalem commented Mar 5, 2023

          Here's the use case: 

Zoom out to zoom level 3 and click on Trace Curves
leaflet-zoom-3

Then start to zoom in; you'll see that after a certain zoom level, the deviation starts to be perceptive.
See the images below:

leaflet-zoom-9
leaflet-zoom-12

Originally posted by @aasilva in #20 (comment)

@VitalLato
Copy link

I have exactly the same issue.

@davidfdriscoll
Copy link

davidfdriscoll commented Dec 5, 2023

I'm also having this same issue.

For my purposes, I hackily avoided the problem by making the Bezier line opaque and drawing a polyline and arrowhead decorators along the sampled route.

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

3 participants