[HN Gopher] LeafletJS: a JavaScript library for interactive maps ___________________________________________________________________ LeafletJS: a JavaScript library for interactive maps Author : x14km2d Score : 84 points Date : 2021-08-16 21:32 UTC (1 hours ago) (HTM) web link (leafletjs.com) (TXT) w3m dump (leafletjs.com) | chx wrote: | https://automuseums.info/ is using leaflet, it is also doing some | server side geoclustering. It's a mostly out of the box Drupal 9 | site, there's custom code but very very little. | mekkkkkk wrote: | Leaflet is fantastic. One of the more interesting use cases I've | seen for it is the Guild Wars 2 wiki. They use it heavily to | display the game map for regions, areas of interests etc. It's | quite impressive, and very useful as a player! | | https://wiki.guildwars2.com/wiki/Kryta#Interactive_Map | amcaskill wrote: | Leaflet for R is fantastic as well. It has been a while since I | have used R so there might be something better now, but I have | fond memories of that package. | | https://rstudio.github.io/leaflet/map_widget.html | beezischillin wrote: | Just a heads up, if you are looking into using this in your | project: The popup onclick triggers are currently broken in the | latest version under Safari, using an older version solves it. | | Other than that this is an awesome library with tons of great | plugins that I've used for years now. | the_third_wave wrote: | LeafletJS is not just limited to mapping applications, it is used | in LibreOffice online [1] to present pixmaps of rendered | documents in the web client. | | [1] https://git.libreoffice.org/online/+/master/loleaflet/README | c-smile wrote: | Leaflet works as it is in Sciter[1] too. SDK sample: | https://github.com/c-smile/sciter-js-sdk/tree/main/samples/l... | | So it can be used in pretty much any native desktop | application. Including desktop games that use DX11, DX12, | Vulkan or Metal graphics. | | [1] https://sciter.com | dang wrote: | Some past related threads: | | _How to Make Maps Using Leaflet.js, PostGIS and Chicago Open | Data_ - https://news.ycombinator.com/item?id=19784355 - April | 2019 (20 comments) | | _Leaflet - A JavaScript library for mobile-friendly interactive | maps_ - https://news.ycombinator.com/item?id=16149725 - Jan 2018 | (36 comments) | | _Leaflet: An open-source JavaScript library for mobile-friendly | interactive maps_ - https://news.ycombinator.com/item?id=13095390 | - Dec 2016 (71 comments) | | _Leaflet 1.0 - A JavaScript library for mobile-friendly | interactive maps_ - https://news.ycombinator.com/item?id=12589447 | - Sept 2016 (99 comments) | | _D3 and Leaflet maps (2012)_ - | https://news.ycombinator.com/item?id=11017763 - Feb 2016 (8 | comments) | | _Show HN: Lens Battle - Make comparing lenses easier (with | leaflet.js)_ - https://news.ycombinator.com/item?id=10279358 - | Sept 2015 (11 comments) | | _Show HN: Quizzity - a geographical quiz built on top of a | Leaflet map_ - https://news.ycombinator.com/item?id=8981162 - Feb | 2015 (6 comments) | | _Show HN: Traverse City Platmap with Leaflet and D3_ - | https://news.ycombinator.com/item?id=8164315 - Aug 2014 (6 | comments) | | _Testing web map APIs - Google vs OpenLayers vs Leaflet_ - | https://news.ycombinator.com/item?id=7451375 - March 2014 (12 | comments) | | _Show HN: Earthquakes on Leaflet, Crossfilter and D3_ - | https://news.ycombinator.com/item?id=5157054 - Feb 2013 (7 | comments) | | _Leaftlet - A Lightweight JavaScript Library for Interactive | Maps_ - https://news.ycombinator.com/item?id=2746178 - July 2011 | (21 comments) | mistrial9 wrote: | thx dang ! | vmarsy wrote: | If you're looking for an actual demo of the product, it seems | that the weather map on https://www.msn.com/en- | us/weather/maps?lat=47.6032&lon=-122.... is powered by leaflet. I | really like the work they've done with the wind animations and | historical air quality maps | avel wrote: | That's pretty cool, it reminded me of Windy which is also | pretty awesome. In fact, peeking at the source of windy, it | looks like it also uses Leaflet! | | https://www.windy.com | panopticon wrote: | I just discovered that the other week when I was looking for | a KML plugin for Leaflet. Windy maintains one! | | https://github.com/windycom/leaflet-kml | hutch120 wrote: | Interesting that Windy uses a version from 2018. (v1.4) | hamburgerwah wrote: | I have used this and it is excellent. It is a tremendous | alternative to all the paid GIS/mapping suites. | SilverRed wrote: | You will pretty much always have to pay for the tileserver | service though. The main benefit I saw was that you could | trivially switch to any other tile service without being tied | in to a particular one like if you used the google maps | library. | [deleted] | tshaddox wrote: | I've used it and it's nice for use cases that match very | closely to what they support and provide documentation/examples | for. As a quick drop-in map widget on a web page, it's quite | nice. | | I've also used Mapbox which provides a much fancier OpenGL map | with fancy things like continuous (smooth) zoom levels. Mapbox | feels a lot more like a modern Google Maps-esque mapping | widget. https://docs.mapbox.com/mapbox-gl-js/example/ | hajile wrote: | When I used it, I really wished it used JS inheritance rather | than its own custom inheritance/mixins. | gkhartman wrote: | I'll second this. Highly recommended. It was pleasure to work | with and hasn't had any issues while running in a production | environment. | gennarro wrote: | This is used on https://55pl.us/find/ if you want to see it live | | Example: https://55pl.us/nursing-homes/27a052/ ___________________________________________________________________ (page generated 2021-08-16 23:00 UTC)