manubb / Leaflet.PixiOverlay

Bring Pixi.js power to Leaflet maps
MIT License
463 stars 85 forks source link

Errors when drawing in a large zoom level #68

Open haelue opened 2 years ago

haelue commented 2 years ago

I am using Leaflet.PixiOverlay in a project, which usually in a large zoom level at about 20 to 25. I use PIXI.Graphics.drawXXX() to draw geo-features which width&height at about 0.001~0.01, and everything goes wrong. Maybe PIXI is thinking this objects are in pixel level, so it merge the nearest pixels or simplify the shapes. Make the graph like a mosaic. Is there any way to solve this problem?

arvenly commented 2 years ago

I've got same problem