double click
by FranceImage
HTML
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css">
<script src="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.js"></script>
<div id="map"></div>
CSS
#map { height: 300px; }
JavaScript
// create a map in the "map" div, set the view to a given place and zoom
var map = L.map('map').setView([48.858190, 2.294470], 16);
// add an OpenStreetMap tile layer
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);
// add a marker in the given location, attach some popup content to it and open the popup
var marker = L.marker([48.858190, 2.294470]).addTo(map)
.bindPopup('This is the Eiffel Tower<br> Easily customizable.')
.openPopup();
marker.on('click', function() { console.log('click');});
marker.on('dblclick', function() { console.log('dblclick');});