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

Bezier curves are acting erratically with high pitch levels #2442

Closed
k-stf opened this issue Oct 18, 2024 · 1 comment
Closed

Bezier curves are acting erratically with high pitch levels #2442

k-stf opened this issue Oct 18, 2024 · 1 comment

Comments

@k-stf
Copy link

k-stf commented Oct 18, 2024

maptalks's version and what browser you use?

1.0.0.rc37, Chrome/Firefox

Issue description

Bezier curves are acting erratically when pitch/zoom combination is high enough (higher the pitch, lower zoom level is required to trigger the problem). When you move the map, Bezier curves are moving/flickering/turning to straight lines.

Please provide a reproduction URL (on any jsfiddle like site)

https://jsfiddle.net/3nreykjh/
Try moving map forward and backward, you will see bezier curve turning into straight line when approximately half of the line is out of the screen.

@k-stf
Copy link
Author

k-stf commented Oct 18, 2024

same problem with all curves. looks like this happens when one of the points is out of viewport (most probably the problem is in _projIfBehindCamera)

@k-stf k-stf closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
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

1 participant