News for hackers. Stuff that matters.
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by anc84 on Tuesday September 27, 2016 @01:08PM (#12591140)
You can (and usually should) make your own custom build: http://openlayers.org/en/latest/doc/tutorials/custom-builds....
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by nachtigall on Wednesday September 28, 2016 @04:19AM (#12596167)
Even a custom OL3 build which only has the canvas renderer, a WMS layer for background and a Vector layer for POIs does not get smaller than 200k. I think leaflet is half the size.
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by nachtigall on Wednesday September 28, 2016 @08:45AM (#12597198)
And I find this to be even more astonishing as OL3 uses Googles Closure compiler who's very advantage should have been better JS minification (not only minimizing/uglifying but actually removing JS parts that are not needed).