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

Poor performance using MVT background #503

Open
cazitouni opened this issue Nov 13, 2023 · 2 comments
Open

Poor performance using MVT background #503

cazitouni opened this issue Nov 13, 2023 · 2 comments

Comments

@cazitouni
Copy link

Using an MVT background results in poor map performance, especially on low-end office hardware (i3-9100 on my test machine, I've also tested on an I9-12900K for good measure, it's get better but not as expected). Slowdowns really occur at low zoom levels (around 18).

The issue seems specific to the viewer, as the vector layer is very responsive when using the Leaflet provided by Tileserver GL. Could this be related to the fact that Leaflet seems to use WebGL? And could this implementation help?

My test tileset is located at https://tileserver.metrotopic.net/, and for the style, I just use the streets one provided by MapTiler.

Thanks in advance for your answer.
Kind regards,
Clément

@manisandro
Copy link
Member

Could you post a working themes.json which can be used to look into the issue?

@cazitouni
Copy link
Author

Sure @manisandro, I've just used the demo one an added the background for testing.
I've also tested on a docker instance with a clean theme and result is the same.
I've also tried with the basic style which is less populated but performance aren't good either.

Loading the vector seems ok ,but while draggind the map at a low zoom fps are very low.
themesConfig.json

Let me know if you need anything else,
Regards, Clément.

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

2 participants