import * as config from './utils/config';
import * as overlayer from './utils/overlayer';
import * as mapContext from './mapContext';
import * as polygon from './utils/polygon';
import { providerMap } from './providerMap';

import ClusterMap from './view/ClusterMap';
import SelectPointsMap from './view/SelectPointsMap';
import ClusterLayer from './components/ClusterLayer';
import SimpleMap from './components/SimpleMap';
import SinglePointMap from './view/SinglePointMap';
import MapResetTools from './components/MapResetTools';
import SearchPio from './components/SearchPio';
import TrajectoryMap from './view/TrajectoryMap';
import AddictPlaceMap from './view/AddictPlaceMap';
import MapSelectDeviceAndPlace from './view/MapSelectDeviceAndPlace';
import JudgementGroupTrajectory from './view/JudgementGroupTrajectory';

import 'leaflet/dist/leaflet.css';

const MapBase = {
  config,
  overlayer,
  mapContext,
  polygon,
  providerMap,
  MapResetTools,
  SearchPio,
  TrajectoryMap,
};
const LMap = {
  MapBase,
  ClusterMap,
  SelectPointsMap,
  ClusterLayer,
  SimpleMap,
  SinglePointMap,
  TrajectoryMap,
  AddictPlaceMap,
  MapSelectDeviceAndPlace,
  JudgementGroupTrajectory,
};
export default LMap;
