2019-10-29 17:33:37 +08:00
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import * as React from 'react';
|
2019-12-27 11:35:19 +08:00
|
|
|
import AnimatePoint from './components/AnimatePoint';
|
2019-10-30 16:38:59 +08:00
|
|
|
import Arc2DLineDemo from './components/Arc2DLine';
|
2019-10-30 14:53:18 +08:00
|
|
|
import ArcLineDemo from './components/Arcline';
|
2019-12-25 00:01:14 +08:00
|
|
|
import CityBuildingLayerDemo from './components/citybuilding';
|
2020-04-21 17:02:25 +08:00
|
|
|
import ClusterDemo from './components/cluster';
|
2019-11-29 11:19:04 +08:00
|
|
|
import Column from './components/column';
|
2019-12-20 00:16:00 +08:00
|
|
|
import DashLineDemo from './components/dash';
|
2019-12-04 19:00:43 +08:00
|
|
|
import DataUpdate from './components/data_update';
|
2020-04-13 16:58:09 +08:00
|
|
|
import GridTest from './components/gridtest';
|
2019-11-25 15:27:56 +08:00
|
|
|
import HeatMapDemo from './components/HeatMap';
|
2020-04-10 15:17:16 +08:00
|
|
|
import HeatMap3D_2 from './components/heatmap2';
|
2020-04-13 16:58:09 +08:00
|
|
|
import HeatMapDemo3D from './components/heatmap3d';
|
2020-01-31 13:12:38 +08:00
|
|
|
import HexagonLayerDemo from './components/hexagon';
|
2019-10-30 10:07:17 +08:00
|
|
|
import LineLayer from './components/Line';
|
2020-04-13 16:58:09 +08:00
|
|
|
import LineAnimate from './components/lineAnimate';
|
2019-10-29 17:33:37 +08:00
|
|
|
import PointDemo from './components/Point';
|
|
|
|
import Point3D from './components/Point3D';
|
2019-11-25 15:27:56 +08:00
|
|
|
import PointImage from './components/PointImage';
|
2020-02-19 21:13:36 +08:00
|
|
|
import PolygonDemo from './components/polygon';
|
2019-11-25 15:27:56 +08:00
|
|
|
import Polygon3D from './components/Polygon3D';
|
2020-02-28 11:51:45 +08:00
|
|
|
import WorldDemo from './components/polygon_line';
|
2019-11-25 15:27:56 +08:00
|
|
|
import ImageLayerDemo from './components/RasterImage';
|
2019-11-01 15:36:20 +08:00
|
|
|
import RasterLayerDemo from './components/RasterLayer';
|
2019-12-26 22:36:50 +08:00
|
|
|
import TextLayerDemo from './components/Text';
|
2019-10-30 10:07:17 +08:00
|
|
|
|
2019-10-29 17:33:37 +08:00
|
|
|
// @ts-ignore
|
|
|
|
storiesOf('图层', module)
|
2019-11-02 00:42:30 +08:00
|
|
|
.add('点图层', () => <PointDemo />)
|
2020-04-21 16:42:37 +08:00
|
|
|
.add('聚合图', () => <ClusterDemo />)
|
2019-12-04 19:00:43 +08:00
|
|
|
.add('数据更新', () => <DataUpdate />)
|
2019-12-27 11:35:19 +08:00
|
|
|
.add('点动画', () => <AnimatePoint />)
|
2019-11-02 00:42:30 +08:00
|
|
|
.add('3D点', () => <Point3D />)
|
2019-12-26 22:36:50 +08:00
|
|
|
.add('文字', () => <TextLayerDemo />)
|
2019-11-29 11:19:04 +08:00
|
|
|
.add('Column', () => <Column />)
|
2019-11-02 00:42:30 +08:00
|
|
|
.add('图片标注', () => <PointImage />)
|
|
|
|
.add('面3d图层', () => <Polygon3D />)
|
2020-02-19 21:13:36 +08:00
|
|
|
.add('面图层', () => <PolygonDemo />)
|
2019-12-25 00:01:14 +08:00
|
|
|
.add('点亮城市', () => <CityBuildingLayerDemo />)
|
2019-11-02 00:42:30 +08:00
|
|
|
.add('线图层', () => <LineLayer />)
|
2020-04-13 16:58:09 +08:00
|
|
|
.add('线图层2', () => <LineAnimate />)
|
2019-12-20 00:16:00 +08:00
|
|
|
.add('虚线', () => <DashLineDemo />)
|
2019-11-02 00:42:30 +08:00
|
|
|
.add('3D弧线', () => <ArcLineDemo />)
|
|
|
|
.add('2D弧线', () => <Arc2DLineDemo />)
|
2019-11-01 15:36:20 +08:00
|
|
|
.add('热力图', () => <HeatMapDemo />)
|
2020-03-26 14:58:28 +08:00
|
|
|
.add('热力图3D', () => <HeatMapDemo3D />)
|
2020-04-10 15:17:16 +08:00
|
|
|
.add('热力图2', () => <HeatMap3D_2 />)
|
2020-01-31 13:12:38 +08:00
|
|
|
.add('网格热力图', () => <HexagonLayerDemo />)
|
2019-11-02 00:42:30 +08:00
|
|
|
.add('栅格', () => <RasterLayerDemo />)
|
2020-02-28 11:51:45 +08:00
|
|
|
.add('图片', () => <ImageLayerDemo />)
|
2020-04-02 23:35:21 +08:00
|
|
|
.add('网格测试', () => <GridTest />)
|
2020-02-28 11:51:45 +08:00
|
|
|
.add('世界地图', () => <WorldDemo />);
|