diff --git a/public/js/eventHandler.js b/public/js/eventHandler.js index b563f5c..76ba522 100644 --- a/public/js/eventHandler.js +++ b/public/js/eventHandler.js @@ -15,11 +15,12 @@ export function initEvents(map) { markerForm.addEventListener("submit", processForm); function setStyleForEditing(){ + markerFormContainer.style.display = 'flex'; noticeCoordsPicker.style.display = 'block'; //messaggio inserimento remainingForm.style.display = 'none'; // form dati // imposta una X rossa come icona pulsante, come icona cursore un marker e entra nella modalità inserimento. document.getElementById("addMarkerBtn").innerHTML = 'Button Image'; - document.getElementById('map').style = 'cursor: url("./dist/images/marker-icon.png") 13 41, auto;'; + document.getElementById('map').style = 'cursor: url("js/dist/images/marker-icon.png") 13 41, auto;'; } function setStyleNotEditing() { @@ -111,7 +112,3 @@ document.getElementById('file-input').addEventListener('change', function () { document.querySelector('.file-chosen').textContent = truncatedFileName; }); -// var gpsbutton = document.getElementById('gps-button'); -// gpsbutton.addEventListener('click', function() { -// gpsControl.start(); -// }); \ No newline at end of file