Leaflet
react-leaflet
Our great sponsors
Leaflet | react-leaflet | |
---|---|---|
219 | 39 | |
39,937 | 4,931 | |
0.9% | - | |
8.9 | 0.0 | |
10 days ago | 8 days ago | |
JavaScript | TypeScript | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 or later |
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.
react-leaflet
-
33 React Libraries Every React Developer Should Have In Their Arsenal
30.react-leaflet
-
How to make this map clickable?
Check out React Leaflet https://react-leaflet.js.org/
-
Making React-Leaflet work with NextJS
But in the case of React Leaflet, you may need to put in some more efforts.
-
How do you make detailed maps in React?
You might wanna check out Leaflet (https://leafletjs.com/) which is a free, open-source library for interactive maps. Combine that with React-Leaflet (https://react-leaflet.js.org/) for seamless React integration. You can find Pond/Lake GeoJSON data at https://gis.mass.gov/ and load it into your map to make it interactive. Good luck!
-
Let's build a Google Maps clone with React, Leaflet, and OneSDK
Leaflet has many official and third party plugins and wrappers. Since we’re using React, we can use React Leaflet which provides components for rendering Leaflet maps in React.
-
How do I create a map like the image below in react? I need some ideas please..
Do you need to just make an image that looks like a map, or do you need to make an actual map (i.e. derived from spatial data)? I think leaflet is still the go to OSS webmap library, and will do hexbins. It has a react version.
- Best free Map API or an alternative to Google Maps for a React JS project
- Free Google Maps in React
-
Story of an IP Address Tracker App (a React.js App)
React-leaflet (and Leaflet.js) library (link)
-
I did an npm update react-leaflet and it didn't update the version number to the latest version in my package.json. why is that?
I wanted to update the react-leaflet version in my project. On the github and npm page for the package it says the latest version is 4.2 https://www.npmjs.com/package/react-leaflet. When I ran an npm update react-leaflet it updated the version from 3.0.1 to 3.2.5. Why isn't it 4.2?
What are some alternatives?
Cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
react-map-gl - React friendly API wrapper around MapboxGL JS
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
google-map-react - Google map library for react that allows rendering components as markers :tada:
OpenLayers3 - OpenLayers
pigeon-maps - ReactJS Maps without external dependencies
folium - Python Data. Leaflet.js Maps.
react-svg-map - A set of React.js components to display an interactive SVG map
mapbox.js - Mapbox JavaScript API, a Leaflet Plugin
react-mapbox-gl - A React binding of mapbox-gl-js
polymaps - Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.
leaflet-geosearch - A geocoding/address-lookup library supporting various api providers.