/*
 * Author: 黎永顺
 * name: 地图组件
 * Description:
 * Date: 2023/5/4
 */
import React, { FC } from "react";
import Chart from "@/utils/chart";
import { mapOptions } from "./options";
// import { mapProvinceOptions } from "./provinceOptions";
import styles from "./index.less";

interface OwnProps {
}

type Props = OwnProps;
const Map: FC<Props> = (props) => {

  return (
    <div className={styles.mapWrapper}>
      <Chart renderer={"canvas"} option={mapOptions({})}/>
      {/*<Chart renderer={"canvas"} option={mapProvinceOptions({})}/>*/}
    </div>
  );
};

export default Map;
