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