antv-l7/stories/Layers/Layers.stories.tsx

32 lines
1.3 KiB
TypeScript
Raw Normal View History

2019-10-29 17:33:37 +08:00
import { storiesOf } from '@storybook/react';
import * as React from 'react';
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';
import Column from './components/column';
2019-12-04 19:00:43 +08:00
import DataUpdate from './components/data_update';
import HeatMapDemo from './components/HeatMap';
import GridHeatMap from './components/HeatmapGrid';
import LineLayer from './components/Line';
2019-10-29 17:33:37 +08:00
import PointDemo from './components/Point';
import Point3D from './components/Point3D';
import PointImage from './components/PointImage';
import Polygon3D from './components/Polygon3D';
import ImageLayerDemo from './components/RasterImage';
2019-11-01 15:36:20 +08:00
import RasterLayerDemo from './components/RasterLayer';
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-11-02 00:42:30 +08:00
.add('3D点', () => <Point3D />)
.add('Column', () => <Column />)
2019-11-02 00:42:30 +08:00
.add('图片标注', () => <PointImage />)
.add('面3d图层', () => <Polygon3D />)
.add('线图层', () => <LineLayer />)
.add('3D弧线', () => <ArcLineDemo />)
.add('2D弧线', () => <Arc2DLineDemo />)
.add('网格热力图', () => <GridHeatMap />)
2019-11-01 15:36:20 +08:00
.add('热力图', () => <HeatMapDemo />)
2019-11-02 00:42:30 +08:00
.add('栅格', () => <RasterLayerDemo />)
.add('图片', () => <ImageLayerDemo />);