mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 22:09:36 +02:00
Japan
This commit is contained in:
parent
65ad5348e2
commit
7d931c7a97
4 changed files with 28478 additions and 2 deletions
|
@ -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)
|
||||||
|
|
28474
backend/server/static/data/jp.json
Normal file
28474
backend/server/static/data/jp.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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>
|
||||||
|
|
|
@ -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: []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue