Live data from Hacker News

LeafletJS: a JavaScript library for interactive maps

leafletjs.com

11–20 of 91 posts

Re: LeafletJS: a JavaScript library for interactive maps

#11

I have used this and it is excellent. It is a tremendous alternative to all the paid GIS/mapping suites.

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.

Re: LeafletJS: a JavaScript library for interactive maps

#12
post #8

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

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

Re: LeafletJS: a JavaScript library for interactive maps

#13

I have used this and it is excellent. It is a tremendous alternative to all the paid GIS/mapping suites.

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]

Re: LeafletJS: a JavaScript library for interactive maps

#15
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

Re: LeafletJS: a JavaScript library for interactive maps

#17

I have used this and it is excellent. It is a tremendous alternative to all the paid GIS/mapping suites.

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/

Re: LeafletJS: a JavaScript library for interactive maps

#18
post #12
post #8

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

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

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

Re: LeafletJS: a JavaScript library for interactive maps

#19

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

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

Re: LeafletJS: a JavaScript library for interactive maps

#20
post #12
post #8

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

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

Interesting that Windy uses a version from 2018. (v1.4)
Post reply on HN