var note = document.getElementById('note'); var datepick = document.getElementById('demo1'); var timepick = document.getElementById('timepick'); layerpoly.on('click', function(e){ var markerB = new L.Marker(e.latlng,{icon: Icon3}); markerB.bindPopup("HOMICIDE</br>Date:"+datepick.value+"</br>Time:"+timepick.value+"</br>Address:"+note.value+"").addTo(map); map.addlayer(markerB); closure2 (markerB)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)