Standardize on lon/lat not lat/lon

This commit is contained in:
Chandler Swift 2024-03-01 19:18:40 -06:00
parent bf11f90a34
commit 31cd14cd86
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
2 changed files with 3 additions and 3 deletions

View file

@ -184,7 +184,7 @@
for (let city of cities) {
if (city.guessed) {
ctx.beginPath();
const c = transform([city.location[1], city.location[0]])
const c = transform(city.location)
console.log(city.location, c)
ctx.arc(c[0], c[1], 2, 0, 2*Math.PI, true);
ctx.fill();