完成页面的基础配置
This commit is contained in:
19
src/app/OlMap/MapTools.tsx
Normal file
19
src/app/OlMap/MapTools.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import React from "react";
|
||||
import Zoom from "./Controls/Zoom";
|
||||
import BaseLayers from "./Controls/BaseLayers";
|
||||
import MapToolbar from "./Controls/Toolbar";
|
||||
import ScaleLine from "./Controls/ScaleLine";
|
||||
|
||||
const MapTools = () => {
|
||||
return (
|
||||
<>
|
||||
<Zoom />
|
||||
<ScaleLine />
|
||||
<BaseLayers />
|
||||
<MapToolbar />
|
||||
{/* 继续添加其他自定义控件 */}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default MapTools;
|
||||
Reference in New Issue
Block a user