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

[BUG] High zoom results in increasing frame times when using dotted features #1829

Closed
JaffaKetchup opened this issue Feb 14, 2024 · 2 comments · Fixed by #1854
Closed

[BUG] High zoom results in increasing frame times when using dotted features #1829

JaffaKetchup opened this issue Feb 14, 2024 · 2 comments · Fixed by #1854
Labels
bug This issue reports broken functionality or another error P: 1 (important) S: core Scoped to the core flutter_map functionality
Milestone

Comments

@JaffaKetchup
Copy link
Member

What is the bug?

Originally reported by @josxha in #1828.

Zooming in on a polygon (a lot) causes a gradual decrease in performance, and can result in a crash when the device can no longer handle it.
It appears to be unrelated to the recent addition of interactivity to polygons.

polygon.app.crashes.mp4
image

image

How can we reproduce it?

Use the "Polygon Layer" page in the example page, and zoom into a polygon a long way. Frame rate will progressively drop.

Do you have a potential solution?

No response

Platforms

All

Severity

Fatal: Causes the application to crash

@JaffaKetchup JaffaKetchup added bug This issue reports broken functionality or another error needs triage This new bug report needs reproducing and prioritizing P: 1 (important) and removed needs triage This new bug report needs reproducing and prioritizing labels Feb 14, 2024
@mohammedX6
Copy link

i have test it now, while i am zooming in/out i have noticed a memory leak, the memory usage keep increasing that's lead to crash

@josxha josxha added this to the v7.0 milestone Feb 14, 2024
@josxha josxha added the S: core Scoped to the core flutter_map functionality label Feb 21, 2024
@ReinisSprogis
Copy link
Contributor

2024-03-15.01-02-38.mp4
2024-03-15.01-04-23.mp4

Problem was that as zooming in lines was getting very long and many dots was calculated eventually getting into millions of dots.

@JaffaKetchup JaffaKetchup changed the title [BUG] High zoom results in increasing frame times when using Polygons [BUG] High zoom results in increasing frame times when using dotted features Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue reports broken functionality or another error P: 1 (important) S: core Scoped to the core flutter_map functionality
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants