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