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

High CPU usage on Vector Tile Layers #232

Open
DanielShinken opened this issue Mar 3, 2020 · 1 comment
Open

High CPU usage on Vector Tile Layers #232

DanielShinken opened this issue Mar 3, 2020 · 1 comment

Comments

@DanielShinken
Copy link

Hi there, I'm using vector grid with leaflet 1.0, thing is when the layer start to draw vector tile serve from geoserver or any other provider, CPU usage goes way up to 100% on chrome, it even freezes, I'm trying to draw near to 37k points with nothing more than the default options on the layer, I also include rendererFactory: L.canvas.tile and interactive:true, I'm using the bundle package, any idea why this could by happening, thanks in advance

@kunKun-tx
Copy link

37k is too much for raw canvas, I would look into something with webgl. I have used pixijs and mapbox gl js with good result in the past.

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