GisForWeb
All tools
React Leaflet logo

React Leaflet

React component bindings for building interactive Leaflet maps.

License

Hippocratic-2.1

About

React Leaflet provides React components that wrap Leaflet maps, layers, and controls while retaining Leaflet's imperative API. It supports React lifecycle integration and exposes refs and context for applications that need to work with Leaflet directly. The current v5 package is distributed under the Hippocratic License 2.1, so its use restrictions should be reviewed before adoption.

Features

  • Wraps Leaflet maps as React components
  • Exposes layer and control components
  • Provides refs to Leaflet instances
  • Applies mutable properties through React
  • Supports hooks and React context
  • Works with current Leaflet releases

Details

Type
Library
Pricing
free
API
sdk
Hosting
Self-host

Platforms

web

Languages

JavaScript
TypeScript