基于高德地图JS api开发的geojson编辑器. http://geojson.finevis.cc/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
566 B

import { Layout } from "antd";
import { useEffect, useRef } from "react";
import { MapStage } from "../../mapStage";
import "./index.less";
const { Header, Footer, Sider, Content } = Layout;
const Plot = () => {
const mapStageRef = useRef<HTMLDivElement>(null);
useEffect(() => {
const map = new MapStage(mapStageRef.current!);
map.init();
});
return (
<>
<div className="map-stage" ref={mapStageRef}></div>
<div className="tools-properties"></div>
<div className="tools-area"></div>
</>
);
};
export default Plot;