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 # Attribution
- [Mexico GEOJSON](https://cartographyvectors.com/map/784-mexico-with-states) - [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" id="visited"
value="visited" value="visited"
aria-label="Visited" aria-label="Visited"
checked checked={newAdventure.type === 'visited'}
on:click={() => (type = 'visited')} on:click={() => (type = 'visited')}
/> />
<input <input
@@ -212,6 +212,7 @@
id="planned" id="planned"
value="planned" value="planned"
aria-label="Planned" aria-label="Planned"
checked={newAdventure.type === 'planned'}
on:click={() => (type = 'planned')} on:click={() => (type = 'planned')}
/> />
</div> </div>

View File

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