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.
Leaflet
Examples
- Get started
- Learn the basics
- Vector Tiles in Leaflet
- Display Marker
- GeoJSON Layer
- Raster Layer
- Custom Map
- Choropleth GeoJSON
- Raster tiles
- Geocoding control
- Leaflet with NPM
- Leaflet with TypeScript
- Geolocate control
- Map events
- Multi-lingual map
- Built-in basemap styles
- Points as cluster
- Marker with custom icon