import type { Region } from '$lib/types';

/** Bornes de chaque région : [lonOuest, latSud, lonEst, latNord]. */
export const REGION_BOUNDS: Record<Region, [number, number, number, number]> = {
	GUADELOUPE: [-61.9, 15.8, -60.95, 16.55],
	MARTINIQUE: [-61.25, 14.35, -60.75, 14.95],
	GUYANE: [-54.7, 1.9, -51.5, 6.0],
	REUNION: [55.15, -21.42, 55.9, -20.82]
};

/** Enveloppe union des 4 régions (≈ lon −63…57, lat −23…18) : interdit de sortir du terrain de jeu. */
export const MAX_BOUNDS: [number, number, number, number] = [-63, -23, 57, 18];

export const MIN_ZOOM = 4;

export const REGIONS: Region[] = ['GUADELOUPE', 'MARTINIQUE', 'GUYANE', 'REUNION'];
