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.