auto-sync: 2026-05-05 18:20:01
This commit is contained in:
2
tasks/enduro-trails/prototype/static/app.js
vendored
2
tasks/enduro-trails/prototype/static/app.js
vendored
@@ -513,7 +513,7 @@ async function reverseGeocode(lat, lon) {
|
||||
);
|
||||
const data = await resp.json();
|
||||
const a = data.address || {};
|
||||
const name = a.village || a.town || a.city || a.suburb || a.road || a.county || a.state || `${lat.toFixed(3)}, ${lon.toFixed(3)}`;
|
||||
const name = a.village || a.hamlet || a.town || a.city || a.suburb || a.road || a.county || a.state || `${lat.toFixed(3)}, ${lon.toFixed(3)}`;
|
||||
geocodeCache[key] = name;
|
||||
return name;
|
||||
} catch(e) {
|
||||
|
||||
Reference in New Issue
Block a user