1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-30 18:29:37 +02:00
This commit is contained in:
Sean Morley 2024-07-25 10:16:33 -04:00
parent 13590c5c3c
commit d37ae6842a
3 changed files with 18590 additions and 5 deletions

File diff suppressed because it is too large Load diff

View file

@ -174,16 +174,17 @@ class Command(BaseCommand):
('MX-CAM', 'Campeche', 'mx'),
('MX-CHP', 'Chiapas', 'mx'),
('MX-CHH', 'Chihuahua', 'mx'),
('MX-COA', 'Coahuila', 'mx'),
('MX-CMX', 'Ciudad de México', 'mx'),
('MX-COA', 'Coahuila de Zaragoza', 'mx'),
('MX-COL', 'Colima', 'mx'),
('MX-DUR', 'Durango', 'mx'),
('MX-GUA', 'Guanajuato', 'mx'),
('MX-GRO', 'Guerrero', 'mx'),
('MX-HID', 'Hidalgo', 'mx'),
('MX-JAL', 'Jalisco', 'mx'),
('MX-MEX', 'State of Mexico', 'mx'),
('MX-MIC', 'Michoacán', 'mx'),
('MX-MIC', 'Michoacán de Ocampo', 'mx'),
('MX-MOR', 'Morelos', 'mx'),
('MX-MEX', 'México', 'mx'),
('MX-NAY', 'Nayarit', 'mx'),
('MX-NLE', 'Nuevo León', 'mx'),
('MX-OAX', 'Oaxaca', 'mx'),
@ -196,7 +197,7 @@ class Command(BaseCommand):
('MX-TAB', 'Tabasco', 'mx'),
('MX-TAM', 'Tamaulipas', 'mx'),
('MX-TLA', 'Tlaxcala', 'mx'),
('MX-VER', 'Veracruz', 'mx'),
('MX-VER', 'Veracruz de Ignacio de la Llave', 'mx'),
('MX-YUC', 'Yucatán', 'mx'),
('MX-ZAC', 'Zacatecas', 'mx'),
('JP-01', 'Hokkaido', 'jp'),

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