// 说明: Map使用leaflet绘制, 一律使用wgs84坐标, 只有在绘制瓦片和搜索时需要纠偏转坐标
// Utils
import coordsToWgs84 from "./utils/coordsToWgs84";
import wgs84ToCoords from "./utils/wgs84ToCoords";
import getAddress from "./utils/getAddress";
import getLocation from "./utils/getLocation";
import queryNearby from "./utils/queryNearby";
import createCenterMarkerIcon from "./utils/createCenterMarkerIcon";
import createMarkerIcon from "./utils/createMarkerIcon";

// Components
import APILoader from "./components/APILoader";
import MapContainer from "./components/MapContainer";
import ZoomControl from "./components/ZoomControl";
import SearchControl from "./components/SearchControl";
import CenterMarker from "./components/CenterMarker";
import Markers from "./components/Markers";
import Circles from "./components/Circles";
import LocationControl from "./components/LocationControl";
import NearbyControl from "./components/NearbyControl";
// Pages
import MapChoose from "./pages/MapChoose";
import MapMarkers from "./pages/MapMarkers";
var Map = {
  // utils
  coordsToWgs84: coordsToWgs84,
  wgs84ToCoords: wgs84ToCoords,
  getAddress: getAddress,
  getLocation: getLocation,
  queryNearby: queryNearby,
  createCenterMarkerIcon: createCenterMarkerIcon,
  createMarkerIcon: createMarkerIcon,
  // components
  APILoader: APILoader,
  MapContainer: MapContainer,
  ZoomControl: ZoomControl,
  SearchControl: SearchControl,
  CenterMarker: CenterMarker,
  Markers: Markers,
  Circles: Circles,
  LocationControl: LocationControl,
  NearbyControl: NearbyControl,
  // Pages
  MapChoose: MapChoose,
  MapMarkers: MapMarkers
};
export default Map;