2020-08-10 10:44:28 +08:00
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import * as React from 'react';
|
|
|
|
import AnimatePoint from './components/AnimatePoint';
|
|
|
|
import ClusterDemo from './components/cluster';
|
2022-01-18 16:01:29 +08:00
|
|
|
import ClusterDemo2 from './components/cluster2';
|
2020-08-10 10:44:28 +08:00
|
|
|
import DataUpdate from './components/data_update';
|
|
|
|
import GridTest from './components/gridtest';
|
|
|
|
import HexagonLayerDemo from './components/hexagon';
|
|
|
|
import HighLight from './components/highlight';
|
2021-02-26 10:47:24 +08:00
|
|
|
import OffsetTest from './components/offsetTest';
|
2020-08-10 10:44:28 +08:00
|
|
|
import WorldDemo from './components/polygon_line';
|
|
|
|
|
|
|
|
// @ts-ignore
|
|
|
|
storiesOf('图层', module)
|
|
|
|
.add('聚合图', () => <ClusterDemo />)
|
2022-01-18 16:01:29 +08:00
|
|
|
.add('聚合图标注', () => <ClusterDemo2 />)
|
2020-08-10 10:44:28 +08:00
|
|
|
.add('数据更新', () => <DataUpdate />)
|
|
|
|
.add('点动画', () => <AnimatePoint />)
|
|
|
|
.add('网格热力图', () => <HexagonLayerDemo />)
|
2020-08-20 17:09:45 +08:00
|
|
|
.add('网格热力图2', () => <GridTest />)
|
2021-02-26 10:47:24 +08:00
|
|
|
.add('网格测试', () => <OffsetTest />)
|
2020-08-10 10:44:28 +08:00
|
|
|
.add('图层高亮', () => <HighLight />)
|
|
|
|
.add('世界地图', () => <WorldDemo />);
|