From 2e9a1676b0b12bfd9fc3a474bbb5f01514c5f4ee Mon Sep 17 00:00:00 2001 From: Marc Emmanuel Date: Mon, 26 Jan 2026 17:19:36 +0100 Subject: [PATCH] fix: change mapCoordinates declaration from let to var for compatibility --- public/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/main.js b/public/main.js index e922c44e..c0ac9d11 100644 --- a/public/main.js +++ b/public/main.js @@ -187,7 +187,7 @@ const onZoom = debounce(function () { }, 50); const zoom = d3.zoom().scaleExtent([1, 20]).on("zoom", onZoom); -let mapCoordinates = {}; // map coordinates on globe +var mapCoordinates = {}; // map coordinates on globe let populationRate = +byId("populationRateInput").value; let distanceScale = +byId("distanceScaleInput").value; let urbanization = +byId("urbanizationInput").value;