1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-26 00:09:38 +02:00

Add clear map function

This commit is contained in:
Sean Morley 2024-08-23 14:26:43 -04:00
parent f75c650a20
commit 43c134bf2b

View file

@ -295,6 +295,7 @@
activity_type: ''
}
];
if (adventure.type == 'visited') {
let res = await fetch(
`/api/countries/check_point_in_region/?lat=${e.detail.lngLat.lat}&lon=${e.detail.lngLat.lng}`
);
@ -310,6 +311,10 @@
region_name = null;
}
}
} else {
region_id = null;
region_name = null;
}
console.log(markers);
}