Skip to content

Commit

Permalink
Min zoom edit
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Dec 27, 2023
1 parent 2baa1e8 commit 2e1274c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ $(document).ready(function () {
check_status();

var map = L.map("map", {
minZoom: 3,
maxZoom: 17,
minZoom: 2,
maxZoom: 18,
attributionControl: false,
});
function setMapToUserLocation(position) {
Expand Down Expand Up @@ -582,7 +582,7 @@ $(document).ready(function () {
stat[1].innerHTML =
'<div class="alert alert-success alert-dismissible fade show" role="alert"><strong>Success</strong></div>';
response_time = document.getElementById("summary_response").rows[2].cells;
response_time[1].innerHTML = "(hr:min:sec) " + data.process_time;
response_time[1].innerHTML = data.process_time;
download_url = document.getElementById("summary_response").rows[3].cells;
var zip_file_size =
parseInt(parseFloat(data.zip_file_size_bytes / 1000000).toFixed(2)) == 0
Expand Down

0 comments on commit 2e1274c

Please sign in to comment.