import dynamic from 'next/dynamic';
import type { JobMapProps } from './types';

// Provider dispatcher. Esri (ArcGIS) is the only implementation.
const EsriJobMap = dynamic(() => import('./esri/EsriJobMap'), { ssr: false });

export default function JobMap(props: JobMapProps) {
  return <EsriJobMap {...props} />;
}
