1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 04:49:37 +02:00
This commit is contained in:
Sean Morley 2024-07-26 09:06:37 -04:00
parent 65ad5348e2
commit 7d931c7a97
4 changed files with 28478 additions and 2 deletions

View file

@ -112,3 +112,4 @@ AdventureLog is licensed under the GNU General Public License v3.0.
# Attribution
- [Mexico GEOJSON](https://cartographyvectors.com/map/784-mexico-with-states)
- [Japan GEOJSON](https://cartographyvectors.com/map/361-japan)

File diff suppressed because it is too large Load diff

View file

@ -202,7 +202,7 @@
id="visited"
value="visited"
aria-label="Visited"
checked
checked={newAdventure.type === 'visited'}
on:click={() => (type = 'visited')}
/>
<input
@ -212,6 +212,7 @@
id="planned"
value="planned"
aria-label="Planned"
checked={newAdventure.type === 'planned'}
on:click={() => (type = 'planned')}
/>
</div>

View file

@ -5,7 +5,7 @@ import type { Adventure, VisitedRegion } from '$lib/types';
const endpoint = PUBLIC_SERVER_URL || 'http://localhost:8000';
export const load = (async (event) => {
let countryCodesToFetch = ['FR', 'US', 'CA', 'DE', 'AU', 'MX'];
let countryCodesToFetch = ['FR', 'US', 'CA', 'DE', 'AU', 'MX', 'JP'];
let geoJSON = {
type: 'FeatureCollection',
features: []