guessisback, back again, marker and form are back, tell a friend
This commit is contained in:
parent
c5d7074b93
commit
06cdae4996
1 changed files with 2 additions and 5 deletions
|
@ -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 = '<img src="../img/xred20.png" alt="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();
|
||||
// });
|
Loading…
Reference in a new issue