|
|
|
@ -63,26 +63,28 @@ const Catalog = () => {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<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 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> |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|