Leaflet dealing with map events

This tutorial shows how to dealing with map events in Leaflet. In this example we will see how to handle events of both the Leaflet map and the L.maptilerLayer map together with a vector tiles layer.



Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.