Hacker News new | ask | show | jobs
by maliker 2382 days ago
We used openLayers, ran in to performance issues, switched to Leaflet, and couldn't be happier. Just our experience, for what it's worth.
3 comments

We had the exact opposite problem! We built a custom webgl rendering layer on top of leaflet to get around leaflet's performance issues. We have now switcher to openlayers and very happy. Guess it depends on the exact use case.
Sounds like we should do some more OpenLayers testing! Thanks.
I used Leaflet and had to do some things with realtime visuals in D3 as overlay for Leaflet, because of performance issues.
We switched the opposite direction (D3 to Leaflet) on a different app and got a performance speed up for big sets of vector shapes. Seems like there are tons of ways to engineer these web graphics apps and no clear "best solution".
What kind of performance/use case did you have? I haven't touched leaflet since the giant rewrite.
We were just trying to get a ton of circles (electric vehicle ranges) on a map.

We were going to do something to optimize it in OpenLayers by simplifying the shapes, but when we tried it in Leaflet it just worked a lot faster (fast redraws). We think it's something around how Leaflet dynamically switches to a canvas renderer for big datasets.