fix: GeoJSON export (#1283)
Some checks are pending
Deploy static content to Pages / deploy (push) Waiting to run

* fix: use global vars instead of window.

* feat: add GitHub Actions workflow for unit tests

* fix: change mapCoordinates declaration from let to var for compatibility
This commit is contained in:
Marc Emmanuel 2026-01-26 18:34:35 +01:00 committed by GitHub
parent 29bc2832e0
commit e37fce1eed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 124 additions and 5 deletions

View file

@ -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;