Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)
Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
61–70 of 78 posts
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#62Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#63I've just used Leaflet to create a map for a music festival. It was a joy to use, works well on mobile devices easy to deploy and has been well recieved. Thanks to @mourner and the team for superb library. Small, neat, well documented and changes are improvements not bloat.
I can't say how well it competes with alternatives, but for my use-case it was ideal and very easy to get started with.
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#64Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#65Here are some maps we have made: https://green-giraffe.eu/projects http://www.danielbeeke.nl/inbraken-in-uw-buurt/#12/52.0553/5...
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#66Is there an easy way to integrate leaflet plug-ins using react? My best attempt was to download the plug-in script and modify it such that it takes the Leaflet object as a parameter (instead of the IIFE) but this causes a lot of overhead for using plug-ins.
Any tips from a fellow react developer?
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#67Here are three things I'd like to do with Leaflet, or generally just have from an online mapping tool: 1. Use WebTorrent[1] as the tile provider (would probably need a canonical WebTorrent server so that all tiles would always have at least one seeder). 2. A Progressive Web Map (teehee) so that users can store tiles offline and use the mapping service while offline. Obviously not a new concept but AFAIK there isn't a…
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#68Earlier quoted context omitted.
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.
MapboxGL is very performant, but it changes all the abstractions to the map elements, which is something I'm particularly not very happy with. Thus Leaflet.GL.
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#69Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)
Is there any plan to add NPM support anytime soon? I tried using the NPM library but icons did not work (got invalid path error) so I was forced to use div icons.
The leaflet/npm ecosystem goes out the window when you take into account plug-ins as well, As they require script tags.
Thanks for all your hard work!
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#70Earlier quoted context omitted.
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.