|
|
|
@ -63,28 +63,31 @@ const Catalog = () => {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<div className="catalog-wrapper"> |
|
|
|
|
<Collapse |
|
|
|
|
defaultActiveKey={["1", "2", "3", "4", "5"]} |
|
|
|
|
expandIconPosition="right" |
|
|
|
|
> |
|
|
|
|
<Panel header="矩形" key={1}> |
|
|
|
|
<OverlayList overlays={rectangles} /> |
|
|
|
|
</Panel> |
|
|
|
|
<Panel header="多边形" key={2}> |
|
|
|
|
<OverlayList overlays={polygons} /> |
|
|
|
|
</Panel> |
|
|
|
|
<Panel header="多段线" key={3}> |
|
|
|
|
<OverlayList overlays={polylines} /> |
|
|
|
|
</Panel> |
|
|
|
|
<Panel header="圆形" key={4}> |
|
|
|
|
<OverlayList overlays={circles} /> |
|
|
|
|
</Panel> |
|
|
|
|
<Panel header="标记点" key={5}> |
|
|
|
|
<OverlayList overlays={points} /> |
|
|
|
|
</Panel> |
|
|
|
|
</Collapse> |
|
|
|
|
</div> |
|
|
|
|
<> |
|
|
|
|
<div className="pane-title">覆盖物</div> |
|
|
|
|
<div className="catalog-wrapper"> |
|
|
|
|
<Collapse |
|
|
|
|
defaultActiveKey={["1", "2", "3", "4", "5"]} |
|
|
|
|
expandIconPosition="right" |
|
|
|
|
> |
|
|
|
|
<Panel header="矩形" key={1}> |
|
|
|
|
<OverlayList overlays={rectangles} /> |
|
|
|
|
</Panel> |
|
|
|
|
<Panel header="多边形" key={2}> |
|
|
|
|
<OverlayList overlays={polygons} /> |
|
|
|
|
</Panel> |
|
|
|
|
<Panel header="多段线" key={3}> |
|
|
|
|
<OverlayList overlays={polylines} /> |
|
|
|
|
</Panel> |
|
|
|
|
<Panel header="圆形" key={4}> |
|
|
|
|
<OverlayList overlays={circles} /> |
|
|
|
|
</Panel> |
|
|
|
|
<Panel header="标记点" key={5}> |
|
|
|
|
<OverlayList overlays={points} /> |
|
|
|
|
</Panel> |
|
|
|
|
</Collapse> |
|
|
|
|
</div> |
|
|
|
|
</> |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|