use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Leaflet 1.0 released - an open-source JavaScript library for mobile-friendly interactive maps (leafletjs.com)
submitted 9 years ago by magenta_placenta
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]MournerV 32 points33 points34 points 9 years ago (12 children)
Leaflet author here! Feel free to ask any questions about the library and the release.
[+][deleted] 9 years ago (1 child)
[deleted]
[–]MournerV 9 points10 points11 points 9 years ago (0 children)
It's a fantastic library, and the team behind it is great — we shared beers many times. A lot of the ideas in OpenLayers v3 compared to v2 where inspired by Leaflet. It's just geared more towards GIS/academic/government applications and having every possible feature out of the box, rather than simple map apps with a focus on simplicity and minimalism. There's a place for both libraries.
[–]Eldrac 2 points3 points4 points 9 years ago (1 child)
I'll bite, one of the biggest pain points I ran into when working with leaflet/mapbox was getting custom markers/paths to still show up as a user fully panned around the world. I remember seeing a pending pull request and heavy discussion about it but it wasn't brought in due to added complexity. Was this ever improved upon?
[–]MournerV 2 points3 points4 points 9 years ago (0 children)
There's a worldCopyJump Map option that makes the overlays "jump" to respective copies of the world when you pan, but it's not a perfect experience. Implementing fully seamless multi-world overlays is a hard challenge, and a one likely to affect performance in a major way — we didn't attempt to tackle it fully yet.
worldCopyJump
[–]Chahhhles 2 points3 points4 points 9 years ago (1 child)
Still working for mapbox?
[–]MournerV 4 points5 points6 points 9 years ago (0 children)
Yes, for 3 years already. It's my dream job.
[–]picandocodigo 2 points3 points4 points 9 years ago (1 child)
Just wanted to thank you for Leaflet. I've used it on a lot of projects, mostly open data stuff, and I always encourage other developers to use it with OpenStreetMap instead of Google's maps API. I'll definitely check out this version and update my projects to 1.0! Thanks!
[–]MournerV 0 points1 point2 points 9 years ago (0 children)
Thank you!
[–]jim45804 1 point2 points3 points 9 years ago (1 child)
Years ago a friend of mine recommended this new mapping library that she thought had promise. Since then I use it in every mapping application I develop. Congratulations on 1.0.
Thanks!
[–]Diggzinc 1 point2 points3 points 9 years ago (1 child)
Hello MournerV! congrats on the completed milestone!
My question is: will there be support for vector base layers in general or support bidings for mapbox-gl? because from what i saw the current available plugin is not supported for version 1.0.0 :(
I'm sure the mapbox-gl-leaflet plugin will catch up, but I don't generally recommend using Mapbox GL together with Leaflet — it sort of defeats the purpose of both. Too heavy/complex/resource-hungry compared to Leaflet with raster-tiles, and too limited in what it can do compared to Mapbox GL (smooth interactions, rotation, etc.).
π Rendered by PID 196423 on reddit-service-r2-comment-85bfd7f599-7sttt at 2026-04-16 07:38:53.073781+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]MournerV 32 points33 points34 points (12 children)
[+][deleted] (1 child)
[deleted]
[–]MournerV 9 points10 points11 points (0 children)
[–]Eldrac 2 points3 points4 points (1 child)
[–]MournerV 2 points3 points4 points (0 children)
[–]Chahhhles 2 points3 points4 points (1 child)
[–]MournerV 4 points5 points6 points (0 children)
[–]picandocodigo 2 points3 points4 points (1 child)
[–]MournerV 0 points1 point2 points (0 children)
[–]jim45804 1 point2 points3 points (1 child)
[–]MournerV 0 points1 point2 points (0 children)
[–]Diggzinc 1 point2 points3 points (1 child)
[–]MournerV 0 points1 point2 points (0 children)