diff --git a/docs/53.create-and-save-geojson/script.js b/docs/53.create-and-save-geojson/script.js index 246cdd2..008bd14 100644 --- a/docs/53.create-and-save-geojson/script.js +++ b/docs/53.create-and-save-geojson/script.js @@ -5,7 +5,7 @@ // config map let config = { - minZoom: 7, + minZoom: 5, maxZoom: 18, fullscreenControl: true, }; @@ -62,7 +62,7 @@ const customControl = L.Control.extend({ className: "remove link-button leaflet-bar", }, { - title: "load gejson from file", + title: "load geojson from file", html: "", className: "load link-button leaflet-bar", }, @@ -249,4 +249,6 @@ function openFile(event) { setGeojsonToMap(geojson); }; reader.readAsText(input.files[0]); + + input.value = ""; }