improve zoom level by incrementing by one

This commit is contained in:
Bilal Catic
2019-09-10 17:08:24 +02:00
parent 9ec7e4be14
commit 74125d761a

View File

@@ -95,6 +95,7 @@
const place = autocomplete.getPlace();
if (place.geometry) {
map.fitBounds(place.geometry.viewport);
map.setZoom(map.getZoom() + 1);
$("#locationInputData").val(JSON.stringify(place));
}
}