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';
|
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';
|
2019-11-25 15:27:56 +08:00
|
|
|
import HeatMapDemo from './components/HeatMap';
|
2020-01-31 13:12:38 +08:00
|
|
|
import HexagonLayerDemo from './components/hexagon';
|
2019-12-18 21:13:56 +08:00
|
|
|
import LightDemo from './components/light';
|
2019-10-30 10:07:17 +08:00
|
|
|
import LineLayer from './components/Line';
|
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';
|
|
|
|
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 />)
|
2019-12-04 19:00:43 +08:00
|
|
|
.add('数据更新', () => <DataUpdate />)
|
2019-12-18 21:13:56 +08:00
|
|
|
.add('亮度图', () => <LightDemo />)
|
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 />)
|
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-01-31 13:12:38 +08:00
|
|
|
.add('网格热力图', () => <HexagonLayerDemo />)
|
2019-11-02 00:42:30 +08:00
|
|
|
.add('栅格', () => <RasterLayerDemo />)
|
2019-10-30 11:52:36 +08:00
|
|
|
.add('图片', () => <ImageLayerDemo />);
|