1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 03:35:18 +02:00

AU and DE

This commit is contained in:
Sean Morley 2024-07-24 14:33:57 -04:00
parent 0887579129
commit d2f4379998
5 changed files with 29284 additions and 11 deletions

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'];
let countryCodesToFetch = ['FR', 'US', 'CA', 'DE', 'AU'];
let geoJSON = {
type: 'FeatureCollection',
features: []

View file

@ -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>