Newer
Older
PastandPresentMap / natto / overlay.js
@natto natto on 9 Nov 2018 287 bytes change_path
var maps= L.map("map").setView([38.891, 139.824], 16);
L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
 attribution:
   '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(maps);

maps.on("click", function(e){
    console.log(e.latlng);
});