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

20 lines
755 B
TypeScript
Raw Normal View History

2019-10-29 17:33:37 +08:00
import { storiesOf } from '@storybook/react';
import * as React from 'react';
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-10-29 17:33:37 +08:00
// @ts-ignore
storiesOf('图层', module)
.add('点图层', () => <PointDemo />)
.add('3D点', () => <Point3D />)
.add('图片标注', () => <PointImage />)
.add('面3d图层', () => <Polygon3D />)
.add('线图层', () => <LineLayer />)
.add('网格热力图', () => <GridHeatMap />)
.add('图片', () => <ImageLayerDemo />);