Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 363 Bytes

events.md

File metadata and controls

9 lines (8 loc) · 363 Bytes
id title
events
Events

Leaflet exposes its own events, different from React. You can listen to them using React-Leaflet by adding a callback to a property prefixed by on. Ex: <Map onMoveend={this.handleMoveend}>...</Map>.
Check 🍃 Leaflet's documentation for the events associated to each component.