Live data from Hacker News

Leaflet: An open-source JavaScript library for mobile-friendly interactive maps

leafletjs.com

51–60 of 78 posts

Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps

#52

Anybody using Mapbox GL JS? Basically Leaflet with WebGL and some other useful tricks.

Yes I do and from a user perspective its much better as it tends to be lighter in term of network request and smoother as you don't need to load new tiles for every single level of zoom.

I just hope leaflet will be there one day with smooth degradation for browser that don't have webgl enabled

Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps

#53
post #46

Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)

Any plan to support webgl in the future as mapbox gl does?

From a user perspective the difference is huge

Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps

#54
post #46

Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)

Any plan to support webgl in the future as mapbox gl does?

From a user perspective the difference is huge

Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps

#55
post #46

Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)

Any plan to support webgl in the future as mapbox gl does?

From a user perspective the difference is huge

Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps

#58

Leaflet is an amazingly powerful tool. As others have mentioned, it makes it easy to use a variety of sources for the underlying map tiles; in my case I was able to replace the modern-day base map with a map of the Roman Empire for an interactive academic publication[1]. Another great feature that doesn't get as much attention is Leaflet's ability to handle non-geographic images. In the same publication I'm also usin…

That's awesome as an art history guy I never considered using leaflet for zooming like this. Ingenious keep up the fantastic work!

Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps

#59
post #46

Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)

Any plan to support webgl in the future as mapbox gl does? From a user perspective the difference is huge

WebGL is notoriously hard to use and requires tons of code for even simple things like drawing lines and polygons. (Disclaimer: I'm also one of the core developers of Mapbox GL JS)

One of our core devs (Ivan) works on Leaflet WebGL renderer, but I'd like it to remain a plugin, so that Leaflet stays true to its goal — to be as small and simple as possible.

Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps

#60
post #50
post #46

Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)

Hey, again great stuff. I have a small question while you are here... In my application, when a user zooms the map.. the tiles and markers seem to get get zoomed at different rates, then finally snap back together at the end of the zoom. Is this something I'm doing wrong. Is there anyway to mitigate that effect? Thanks again.

Does this effect happen on the Leaflet frontpage example? You could be using an older version Leaflet CSS with a newer version JS.
Post reply on HN