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