Skip to content

Commit ef42c1e

Browse files
chore :compact
1 parent ed3b94b commit ef42c1e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

assets/js/map.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ $(document).ready(function () {
107107
const geojson = layer.toGeoJSON();
108108
const seeArea = L.GeometryUtil.geodesicArea(layer.getLatLngs()[0]);
109109
const areaInSqKm = parseFloat(seeArea / 1000000).toFixed(2);
110-
110+
111111
$("#geojsontextarea").val(JSON.stringify(geojson));
112112
exportPayload.geometry = geojson;
113-
113+
114114
updateSummaryRow("area", parseInt(areaInSqKm) == 0 ? "Less than a Sq KM" : `${areaInSqKm} Sq Km`);
115115
updateSummaryRow("status", '<div class="alert alert-warning alert-dismissible fade show" role="alert"><strong>Ready to Run</strong></div>');
116116
}
@@ -257,7 +257,7 @@ $(document).ready(function () {
257257

258258
function handleSubmit(event) {
259259
event.preventDefault();
260-
260+
261261
clear_summary();
262262
localStorage.removeItem("current_task_id");
263263
setFormEnabled(false);
@@ -412,7 +412,7 @@ $(document).ready(function () {
412412
&nbsp;<span style="cursor: pointer;" onclick="copyToClipboard('${data.download_url}')" title="Copy Link">&#x1F4CB;</span>
413413
<p><small><strong>Zip size</strong> (MB): ${zipSize}<br><strong>Export size</strong> (MB): ${bindedSize}</small></p>
414414
`;
415-
415+
416416
window.copyToClipboard = copyToClipboard;
417417

418418
if (data?.stats) {
@@ -427,7 +427,7 @@ $(document).ready(function () {
427427
if (data?.stats) {
428428
let tooltip = null;
429429
$("#statsIcon").hover(
430-
function() {
430+
function () {
431431
tooltip = $("<div>").html(
432432
`<p style='text-align: justify; font-size: 12px; margin-bottom: 8px;'><strong>Raw:</strong></p>
433433
<pre style='font-size: 10px; margin-bottom: 8px; max-width: 300px; overflow: auto;'>${JSON.stringify(data.stats.raw, null, 2)}</pre>`
@@ -440,7 +440,7 @@ $(document).ready(function () {
440440
maxWidth: "350px"
441441
}).appendTo("body");
442442
},
443-
function() {
443+
function () {
444444
if (tooltip) tooltip.remove();
445445
}
446446
);

0 commit comments

Comments
 (0)