Leaflet
Openstreetmap
Our great sponsors
Leaflet | Openstreetmap | |
---|---|---|
219 | 741 | |
39,985 | 2,023 | |
1.1% | 1.7% | |
8.9 | 9.9 | |
8 days ago | 5 days ago | |
JavaScript | Ruby | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Leaflet
-
JavaScript Libraries That You Should Know
9. Leaflet
-
Animated traveling map with Leaflet
Leaflet is the most famous open-source map library, with lots of plugins. 2 of them are used to animate a marker on the map:
-
5 JavaScript mapping APIs compared
Leaflet stands out as one of the top open source JavaScript libraries for crafting interactive maps. Optimized for both mobile and web devices, it is relatively small (around 42KB) and offers a ton of features, plugins, and a straightforward API. It works across all browsers and platforms.
- 2024: The year of the OpenStreetMap vector maps
-
Shots: Create Mockups
Finding maplibre 'better' was more valid at the time than today, and is also subjective. The creators and maintainers of both libraries have done some great work (and are still doing so).
Back in January 2022, the stable version of leaflet, v1.7.1, was from September 2020, and was affected by some small bugs degrading the user experience. Although the release of following version seemed close, there was no clear schedule for it, and I had concerns about how maintained the library would remain.
As of today, the bug from 2015 where there is some white space between map tiles on fractional zoom levels [0] is still open.
Also, leaflet was a pain to integrate in Svelte Kit framework, because it depended on `window` and-or `document`, not available at server side.
Maplibre, on the other hands, with a feature set roughly equivalent to Leaflet, benefited from much more frequent releases, and seemed more stable across browsers and devices. It was also easier to make it work in Svelte kit.
[0]: https://github.com/Leaflet/Leaflet/issues/3575
-
🌲Svelte + 🍃Leaflet + 📍 Clusters
For a personal project, I had to use Leaflet with Svelte, and I faced some problems during development.
-
Embed leaflet JS maps in notion?
Do anyone have any workaround on how to get leaflet js to work inside notion, either as an embed or as code, or widget? https://leafletjs.com/
-
Ask HN: When building with complex maps do you go with GMaps, Mapbox, OSM?
None of those things are what most in the GIS space would consider "complex", so you could go with any of the options you selected. For lightweight maps, I like Leaflet
https://leafletjs.com
-
What’s the most beautifully documented project you’ve seen?
I have a special place in my heart for Leaflet and it’s documentation: https://leafletjs.com
-
Who wants to collab for a Grab-clone or Angkas-clone web app?
Its suppose to be free: like with map data providers there's Leaflet, OpenStreet Maps and many more which are all for free.
Openstreetmap
-
The current state of map design in OpenStreetMap
I wouldn't compare osm-website and osm-carto at all. The commit logs are very different.
openstreetmap-website: https://github.com/openstreetmap/openstreetmap-website/commi... . Numerous commits most days.
openstreetmap-carto: https://github.com/gravitystorm/openstreetmap-carto/commits . So far in 2024; one small regression fixed, one niche bit of tagging added to an existing style, some largely pointless code style tidying. That's it.
-
Organizing OpenStreetMap Mapping Parties
Contributing is simple:
1. When you see a trail or any other feature that doesn't appear on the map, take a picture.
2. When you get home, visit https://www.openstreetmap.org and start drawing.
The website has satellite images overlayed wirh map data, so it's easy to see what you are doing.
You can look at your pictures to remind yourself of what was missing.
If you have recorded your ride,you can also upload your GPX trace to OpenStreetMap to make it easier to trace features that don't show up clearly on satellite images.
-
The Francis Scott Key Bridge in Baltimore, Maryland Has Collapsed
What impressed me was that it looks like openstreetmap shows the bridge as down already.
https://www.openstreetmap.org/#map=16/39.2144/-76.5279
-
Open source at Fastly is getting opener
Through the Fast Forward program, we give free services and support to open source projects and the nonprofits that support them. We support many of the world’s top programming languages (like Python, Rust, Ruby, and the wonderful Scratch), foundational technologies (cURL, the Linux kernel, Kubernetes, OpenStreetMap), and projects that make the internet better and more fun for everyone (Inkscape, Mastodon, Electronic Frontier Foundation, Terms of Service; Didn’t Read).
-
2024: The year of the OpenStreetMap vector maps
Way overdue. OpenStreetMap's website at openstreetmap.org is its calling card, and for the past few years the default style shown (called Carto) has all but stagnated in development. Accepted features like highway=busway (introduced three years ago) are not rendered there because the maintainers can no longer be bothered, or dislike the tag personally despite broad community backing.
What worries me for this new effort is that Paul Norman is one of the two remaining Carto sometimes-active maintainers who refuse to merge contributed PRs or even provide alternative minimal support for features like highway=busway, leading to awkward gaps on the baseline map shown on openstreetmap.org.
I would love to be surprised in a positive way about this new effort, but I'm not holding my hopes up. Thankfully OpenStreetMap can be thoroughly useful in apps like OsmAnd and OrganicMaps, and the tile-based Tracestrack Topo layer on openstreetmap.org is getting quite decent:
https://www.openstreetmap.org/#layers=P
-
Ask HN: Open-source projects that do something good for the world?
https://www.hotosm.org/tools-and-data runs software that's used for example after an earthquake. The tasking manager specifically is a reactjs app plus postgresql with plenty of open issues. HOTOSM has full-time staff, I'm not sure if the developers are full-time, but it's more organized than a volunteer project.
https://github.com/openstreetmap/openstreetmap-website/ is Ruby on Rails (easy installable with a docker setup). The maintainers have trouble even reviewing incoming PRs so an experienced person who can triage, test, review is currently needed.
If you're in the US then https://en.wikipedia.org/wiki/Code_for_America might be worth having a look at.
https://summerofcode.withgoogle.com/ will soon annouce vetted organizations who do open source. (last year https://summerofcode.withgoogle.com/programs/2023/organizati...). Project are paid, the process is long though, all summer. https://developers.google.com/open-source/gsoc/timeline
-
CRT Manufacturing
> 9450 S. W. Barns Rd
Portlandians: Are Barns Rd and Barnes Rd the same thing? Looks like a nice spot if so: https://www.openstreetmap.org/#map=18/45.50901/-122.77468
That building is now a SFX agency: https://hellohinge.com/ (No relation to the dating app)
Also curious if the TEKsystems employment agency next door took its name from Tektronix.
-
Waterway Map
Yes, https://www.openstreetmap.org has quite inconsistent detail as it relies on people mapping stuff.
And help is welcome, anyone can join and help with mapping!
-
The Shingle Spit in Whitstable
It's shown on OpenStreetMap, but not as a street: https://www.openstreetmap.org/#map=16/51.3682/1.0330
- Quairading shire erects signs telling travellers to ignore Google Maps
What are some alternatives?
Cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
Traccar - Traccar GPS Tracking System
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
OsmAnd - OsmAnd
OpenLayers3 - OpenLayers
littlenavmap - Little Navmap is a free flight planner, navigation tool, moving map, airport search and airport information system for Flight Simulator X, Microsoft Flight Simulator 2020, Prepar3D and X-Plane.
folium - Python Data. Leaflet.js Maps.
OwnTracks Recorder - Store and access data published by OwnTracks apps
mapbox.js - Mapbox JavaScript API, a Leaflet Plugin
uMap - uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
polymaps - Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.
Graphhopper - Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.