Showing
2 changed files
with
2 additions
and
0 deletions
... | @@ -94,6 +94,7 @@ | ... | @@ -94,6 +94,7 @@ |
94 | 94 | ||
95 | const geocoder = new google.maps.Geocoder(); | 95 | const geocoder = new google.maps.Geocoder(); |
96 | document.getElementById("submit").addEventListener("click", () => { | 96 | document.getElementById("submit").addEventListener("click", () => { |
97 | + map.setZoom(15); | ||
97 | geocodeAddress(geocoder, map); | 98 | geocodeAddress(geocoder, map); |
98 | 99 | ||
99 | }); | 100 | }); | ... | ... |
... | @@ -103,6 +103,7 @@ | ... | @@ -103,6 +103,7 @@ |
103 | 103 | ||
104 | const geocoder = new google.maps.Geocoder(); | 104 | const geocoder = new google.maps.Geocoder(); |
105 | document.getElementById("submit").addEventListener("click", () => { | 105 | document.getElementById("submit").addEventListener("click", () => { |
106 | + map.setZoom(15); | ||
106 | geocodeAddress(geocoder, map); | 107 | geocodeAddress(geocoder, map); |
107 | 108 | ||
108 | }); | 109 | }); | ... | ... |
-
Please register or login to post a comment