sc/full-world-wrap #6

Open
steve-admin wants to merge 17 commits from sc/full-world-wrap into main
Showing only changes of commit 6a2f8856fe - Show all commits
+1 -1
View File
@@ -401,6 +401,7 @@ const APP = () => {
map.getSource('cities').setData(geojson);
};
const getCountryName = (code) => {
try {
const regionNames = new Intl.DisplayNames(['en'], { type: 'region' });
@@ -542,7 +543,6 @@ const APP = () => {
if (nearestDist < 300 && nearestIdx !== currentCityIndexRef.current) {
currentCityIndexRef.current = nearestIdx;
setCurrentCityIndex(nearestIdx);
showCityPopup(cities[nearestIdx]);
}
if (currentProgress - lastFetchedDist > 2000) {