// Export types
export interface MapPoint {
  x: number; // LV95 X coordinate
  y: number; // LV95 Y coordinate
}

export interface ParcelGeometry {
  id: string;
  egrid?: string;
  number?: string;
  coordinates: MapPoint[];
  isSelected?: boolean;
  isAdjacent?: boolean;
}

export interface MapViewProps {
  parcels?: ParcelGeometry[];
  center?: MapPoint;
  zoomBounds?: {
    min_x: number;
    min_y: number;
    max_x: number;
    max_y: number;
  };
  onMapClick?: (point: MapPoint) => void;
  onParcelClick?: (parcelId: string) => void;
  height?: string;
  className?: string;
  emptyMessage?: string;
}

// Re-export the Leaflet implementation
export { default } from './MapViewLeaflet';
