News for hackers. Stuff that matters.
Re:OpenLayers by maliker on Tuesday December 10, 2019 @01:43PM (#21755470)
We used openLayers, ran in to performance issues, switched to Leaflet, and couldn't be happier. Just our experience, for what it's worth.
Re:OpenLayers by zefman on Tuesday December 10, 2019 @01:59PM (#21755674)
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.
Re:OpenLayers by maliker on Tuesday December 10, 2019 @03:09PM (#21756330)
Sounds like we should do some more OpenLayers testing! Thanks.
Re:OpenLayers by k__ on Tuesday December 10, 2019 @01:55PM (#21755617)
I used Leaflet and had to do some things with realtime visuals in D3 as overlay for Leaflet, because of performance issues.
Re:OpenLayers by maliker on Tuesday December 10, 2019 @03:08PM (#21756327)
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".
Re:OpenLayers by Demiurge on Tuesday December 10, 2019 @02:19PM (#21755872)
What kind of performance/use case did you have? I haven't touched leaflet since the giant rewrite.
Re:OpenLayers by maliker on Tuesday December 10, 2019 @03:05PM (#21756292)
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.