Map events in Leaflet

This example shows how to handle events of both the Leaflet map and the L.maptilerLayer map together with a vector tiles layer. Discover how to incorporate interactivity and responsiveness into your map applications.



Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.