/**
 * Map editor constants
 */

// Nominatim API configuration
export const NOMINATIM_API = {
  BASE_URL: 'https://nominatim.openstreetmap.org/search',
  USER_AGENT: 'GeoProject/1.0 (Kirby CMS Map Editor)',
  RATE_LIMIT_MS: 1000, // 1 request per second
  MIN_QUERY_LENGTH: 3,
  MAX_RESULTS: 5,
  DEFAULT_LANGUAGE: 'fr',
};

// Map defaults
export const MAP_DEFAULTS = {
  CENTER: { lat: 43.836699, lon: 4.360054 },
  ZOOM: 13,
  MAX_MARKERS: 50,
};

// Debounce delays (ms)
export const DEBOUNCE_DELAYS = {
  GEOCODING: 500,
  AUTO_SAVE: 300,
};
