Skip to content
Snippets Groups Projects
Commit 025e5d44 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

feat: New points selected and saved from popup in map (one step procedure)

parent 4398b87b
Branches
No related tags found
1 merge request!191Add map module and Open-Meteo support
......@@ -336,8 +336,7 @@ class MapModal {
submitButton.addEventListener('click', () => {
const feature = this.createFeatureForPoint(nameInput.value, parseInt(typeInput.value, 10), parseFloat(longitudeInput.value), parseFloat(latitudeInput.value));
this.displaySelectedFeatureInfoControl.updateInfoPanel(feature);
newPointFormElement.remove();
this.confirmSelection(feature);
});
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment