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

28 lines
1.1 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';
2019-11-01 15:36:20 +08:00
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-01 15:36:20 +08:00
// .add('点图层', () => <PointDemo />)
// .add('3D点', () => <Point3D />)
// .add('图片标注', () => <PointImage />)
// .add('面3d图层', () => <Polygon3D />)
// .add('线图层', () => <LineLayer />)
// .add('3D弧线', () => <ArcLineDemo />)
// .add('2D弧线', () => <Arc2DLineDemo />)
// .add('网格热力图', () => <GridHeatMap />)
.add('热力图', () => <HeatMapDemo />)
// .add('栅格', () => <RasterLayerDemo />)
.add('图片', () => <ImageLayerDemo />);