mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-25 07:49:37 +02:00
AU and DE
This commit is contained in:
parent
0887579129
commit
d2f4379998
5 changed files with 29284 additions and 11 deletions
26581
backend/server/static/data/au.json
Normal file
26581
backend/server/static/data/au.json
Normal file
File diff suppressed because it is too large
Load diff
2692
backend/server/static/data/de.json
Normal file
2692
backend/server/static/data/de.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -119,21 +119,21 @@ class Command(BaseCommand):
|
|||
('CA-NU', 'Nunavut', 'ca'),
|
||||
('CA-YT', 'Yukon', 'ca'),
|
||||
('DE-BW', 'Baden-Württemberg', 'de'),
|
||||
('DE-BY', 'Bavaria', 'de'),
|
||||
('DE-BY', 'Bayern', 'de'),
|
||||
('DE-BE', 'Berlin', 'de'),
|
||||
('DE-BB', 'Brandenburg', 'de'),
|
||||
('DE-HB', 'Bremen', 'de'),
|
||||
('DE-HH', 'Hamburg', 'de'),
|
||||
('DE-HE', 'Hesse', 'de'),
|
||||
('DE-NI', 'Lower Saxony', 'de'),
|
||||
('DE-HE', 'Hessen', 'de'),
|
||||
('DE-MV', 'Mecklenburg-Vorpommern', 'de'),
|
||||
('DE-NW', 'North Rhine-Westphalia', 'de'),
|
||||
('DE-RP', 'Rhineland-Palatinate', 'de'),
|
||||
('DE-NI', 'Niedersachsen', 'de'),
|
||||
('DE-NW', 'Nordrhein-Westfalen', 'de'),
|
||||
('DE-RP', 'Rheinland-Pfalz', 'de'),
|
||||
('DE-SL', 'Saarland', 'de'),
|
||||
('DE-SN', 'Saxony', 'de'),
|
||||
('DE-ST', 'Saxony-Anhalt', 'de'),
|
||||
('DE-SN', 'Sachsen', 'de'),
|
||||
('DE-ST', 'Sachsen-Anhalt', 'de'),
|
||||
('DE-SH', 'Schleswig-Holstein', 'de'),
|
||||
('DE-TH', 'Thuringia', 'de'),
|
||||
('DE-TH', 'Thüringen', 'de'),
|
||||
('FR-ARA', 'Auvergne-Rhône-Alpes', 'fr'),
|
||||
('FR-BFC', 'Bourgogne-Franche-Comté', 'fr'),
|
||||
('FR-BRE', 'Brittany', 'fr'),
|
||||
|
|
|
@ -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'];
|
||||
let countryCodesToFetch = ['FR', 'US', 'CA', 'DE', 'AU'];
|
||||
let geoJSON = {
|
||||
type: 'FeatureCollection',
|
||||
features: []
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
paint={{ 'fill-color': 'rgba(37, 244, 26, 0.15)' }}
|
||||
filter={['in', 'ISOCODE', ...visitArray]}
|
||||
/>
|
||||
<SymbolLayer
|
||||
<!-- <SymbolLayer
|
||||
layout={{
|
||||
'text-field': ['slice', ['get', 'ISOCODE'], 3],
|
||||
'text-size': 12,
|
||||
|
@ -106,7 +106,7 @@
|
|||
paint={{
|
||||
'text-color': 'black'
|
||||
}}
|
||||
/>
|
||||
/> -->
|
||||
</GeoJSON>
|
||||
{/if}
|
||||
</MapLibre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue