gitmyhub

react-leaflet

TypeScript ★ 5.6k updated 6mo ago

React components for Leaflet maps

Library that wraps Leaflet interactive maps as React components, letting you add and control maps in a React app using familiar component syntax instead of managing Leaflet manually.

TypeScriptReactLeafletJavaScriptsetup: easycomplexity 2/5

React Leaflet is a library that wraps Leaflet maps inside React components. Leaflet is a widely used open-source JavaScript library for displaying interactive maps on web pages. React is a JavaScript framework for building user interfaces out of reusable components. This library bridges the two, letting you add a map to a React application by writing it as a component like any other part of your UI, rather than managing the Leaflet map instance separately.

The README is minimal and points to the project's own documentation website for getting started and the full API reference. Support questions are directed to StackOverflow rather than GitHub issues. The project uses the Hippocratic License, which is an open-source license with additional ethical use clauses. Beyond these basics, the README does not describe specific features or configuration options.

Where it fits