2021-04-06 18:00:53 +08:00
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import * as React from 'react';
|
|
|
|
import MapCenter from './components/mapCenter';
|
2021-04-22 15:08:41 +08:00
|
|
|
import Amap2demo from './components/amap2demo'
|
|
|
|
import Amap2demo_extrude from './components/amap2demo_extrude'
|
|
|
|
import Amapdemo_extrude from './components/amapdemo_extrude'
|
|
|
|
import Amap2demo_text from './components/amap2demo_text'
|
2021-05-31 20:39:15 +08:00
|
|
|
import Amap2demo_textSelect from './components/amap2demo_textSelect'
|
2021-05-27 19:53:22 +08:00
|
|
|
import Amap2demo_iconfont from './components/amap2demo_iconfont';
|
2021-04-22 15:08:41 +08:00
|
|
|
import Amap2demo_image from './components/amap2demo_image'
|
|
|
|
|
2021-05-27 19:53:22 +08:00
|
|
|
import Amap2demo_winds from "./components/amap2demo_winds"
|
|
|
|
|
2021-04-22 15:08:41 +08:00
|
|
|
import Amap2demo_polygon from './components/amap2demo_polygon'
|
|
|
|
import Amap2demo_polygon_extrude from './components/amap2demo_polygon_extrude'
|
2021-05-27 19:53:22 +08:00
|
|
|
|
2021-04-22 15:08:41 +08:00
|
|
|
import Amap2demo_arcLine from "./components/amap2demo_arcLine"
|
2021-04-26 15:13:16 +08:00
|
|
|
import Amap2demo_arcLine3d from "./components/amap2demo_arcLine3d"
|
|
|
|
import Amap2demo_arcLine_greatCircle from "./components/amap2demo_arcLine_greatCircle"
|
2021-06-08 14:32:49 +08:00
|
|
|
import Amap2demo_arcLine_greatCircleTex from "./components/amap2demo_arcLine_greatCircleTex"
|
2021-05-27 19:53:22 +08:00
|
|
|
import Amap2demo_lineHeight from "./components/amap2demo_lineHeight"
|
|
|
|
import Amap2demo_lineDash from "./components/amap2demo_lineDash"
|
|
|
|
import Amap2demo_arcLineDir from "./components/amap2demo_arcLineDir"
|
2021-05-31 10:34:15 +08:00
|
|
|
import Amap2demo_arcLineTex from './components/amap2demo_arcLineTex';
|
2021-06-08 20:31:59 +08:00
|
|
|
import Amap2demo_arcLineLinear from './components/amap2demo_arcLineLinear';
|
2021-06-01 19:05:03 +08:00
|
|
|
import Amap2demo_arcLine3DTex from './components/amap2demo_arcLine3DTex';
|
2021-05-27 19:53:22 +08:00
|
|
|
import Amap2demo_lineStreet from './components/amap2demo_lineStreet';
|
2021-06-08 20:31:59 +08:00
|
|
|
import Amap2demo_lineLinear from './components/amap2demo_lineLinear';
|
2021-05-27 19:53:22 +08:00
|
|
|
import Amap2demo_road from './components/amap2demo_road';
|
2021-05-31 10:34:15 +08:00
|
|
|
import Amap2demo_road2 from './components/amap2demo_road2';
|
2021-04-26 15:13:16 +08:00
|
|
|
|
|
|
|
import Amap2demo_heatmap from "./components/amap2demo_heatmap"
|
|
|
|
import Amap2demo_heatmap3D from "./components/amap2demo_heatmap3D"
|
|
|
|
import Amap2demo_heatmap_hexagon from "./components/amap2demo_heatmap_hexagon"
|
2021-05-27 19:53:22 +08:00
|
|
|
import Amap2demo_heatmap_hexagon_world from './components/amap2demo_heatmap_hexagon_world';
|
2021-04-26 15:13:16 +08:00
|
|
|
import Amap2demo_heatmap_grid from "./components/amap2demo_heatmap_grid"
|
|
|
|
|
|
|
|
import Amap2demo_imageLayer from "./components/amap2demo_imagelayer"
|
|
|
|
|
|
|
|
import Amap2demo_rasterLayer from "./components/amap2demo_rasterlayer"
|
|
|
|
|
|
|
|
import Amap2demo_citybuilding from "./components/amap2demo_citybuilding"
|
2021-04-06 18:00:53 +08:00
|
|
|
|
2021-05-27 19:53:22 +08:00
|
|
|
import Amap2demo_drilldown from "./components/amap2demo_drilldown"
|
|
|
|
|
|
|
|
import Amap2demo_markerlayer from "./components/amap2demo_markerlayer"
|
2021-06-08 17:39:01 +08:00
|
|
|
import Amap2demo_clustermarker from './components/amap2demo_clustermarker';
|
2021-05-27 19:53:22 +08:00
|
|
|
|
|
|
|
import Amap2demo_instance from "./components/amap2demo_instance"
|
|
|
|
|
|
|
|
import Amap2demo_drawControl from "./components/amap2demo_drawControl"
|
|
|
|
|
|
|
|
import Amap2demo_mesh from "./components/amap2demo_mesh"
|
2021-05-31 10:34:15 +08:00
|
|
|
import Amap2demo_mesh2 from "./components/amap2demo_mesh2"
|
2021-05-27 19:53:22 +08:00
|
|
|
|
2021-04-06 18:00:53 +08:00
|
|
|
// @ts-ignore
|
2021-04-22 15:08:41 +08:00
|
|
|
storiesOf('地图方法', module)
|
|
|
|
.add('高德地图 point/demo', () => <MapCenter />)
|
|
|
|
.add('高德地图2.0 point/demo', () => <Amap2demo />)
|
|
|
|
.add('高德地图 point/extrude', () => <Amapdemo_extrude />)
|
|
|
|
.add('高德地图2.0 point/extrude', () => <Amap2demo_extrude />)
|
|
|
|
.add('高德地图2.0 point/text', () => <Amap2demo_text />)
|
2021-05-31 20:39:15 +08:00
|
|
|
.add('高德地图2.0 point/textSelect', () => <Amap2demo_textSelect />)
|
2021-05-27 19:53:22 +08:00
|
|
|
.add('高德地图2.0 point/iconfont', () => <Amap2demo_iconfont />)
|
2021-04-22 15:08:41 +08:00
|
|
|
.add('高德地图2.0 point/image', () => <Amap2demo_image />)
|
2021-05-27 19:53:22 +08:00
|
|
|
|
2021-04-22 15:08:41 +08:00
|
|
|
.add('高德地图2.0 polygon', () => <Amap2demo_polygon />)
|
|
|
|
.add('高德地图2.0 polygon_extrude', () => <Amap2demo_polygon_extrude />)
|
2021-05-27 19:53:22 +08:00
|
|
|
|
2021-04-22 15:08:41 +08:00
|
|
|
.add('高德地图2.0 line_arc', () => <Amap2demo_arcLine />)
|
2021-04-26 15:13:16 +08:00
|
|
|
.add('高德地图2.0 line_arc3d', () => <Amap2demo_arcLine3d />)
|
2021-06-08 14:32:49 +08:00
|
|
|
.add('高德地图2.0 line_arc_greatCircle', () => <Amap2demo_arcLine_greatCircle />)
|
|
|
|
.add('高德地图2.0 line_arc_greatCircleTex', () => <Amap2demo_arcLine_greatCircleTex />)
|
2021-05-27 19:53:22 +08:00
|
|
|
.add('高德地图2.0 lineHeight', () => <Amap2demo_lineHeight />)
|
|
|
|
.add('高德地图2.0 lineDash', () => <Amap2demo_lineDash />)
|
2021-06-01 19:05:03 +08:00
|
|
|
|
2021-05-27 19:53:22 +08:00
|
|
|
.add('高德地图2.0 line_arcDir', () => <Amap2demo_arcLineDir />)
|
2021-05-31 10:34:15 +08:00
|
|
|
.add('高德地图2.0 line_arcTex', () => <Amap2demo_arcLineTex />)
|
2021-06-08 20:31:59 +08:00
|
|
|
.add('高德地图2.0 line_arcLinear', () => <Amap2demo_arcLineLinear />)
|
2021-06-01 19:05:03 +08:00
|
|
|
.add('高德地图2.0 line_arc3DTex', () => <Amap2demo_arcLine3DTex />)
|
|
|
|
|
2021-05-27 19:53:22 +08:00
|
|
|
.add('高德地图2.0 line_winds', () => <Amap2demo_winds />)
|
|
|
|
.add('高德地图2.0 line_Street', () => <Amap2demo_lineStreet />)
|
2021-06-08 20:31:59 +08:00
|
|
|
.add('高德地图2.0 line_Linear', () => <Amap2demo_lineLinear />)
|
2021-05-27 19:53:22 +08:00
|
|
|
.add('高德地图2.0 road', () => <Amap2demo_road />)
|
2021-05-31 10:34:15 +08:00
|
|
|
.add('高德地图2.0 road2', () => <Amap2demo_road2 />)
|
2021-05-27 19:53:22 +08:00
|
|
|
|
2021-04-26 15:13:16 +08:00
|
|
|
.add('高德地图2.0 heatmap', () => <Amap2demo_heatmap />)
|
|
|
|
.add('高德地图2.0 heatmap3D', () => <Amap2demo_heatmap3D />)
|
|
|
|
.add('高德地图2.0 heatmap3D/hexagon', () => <Amap2demo_heatmap_hexagon />)
|
2021-05-27 19:53:22 +08:00
|
|
|
.add('高德地图2.0 heatmap/hexagon/world', () => <Amap2demo_heatmap_hexagon_world />)
|
2021-04-26 15:13:16 +08:00
|
|
|
.add('高德地图2.0 heatmap3D/grid', () => <Amap2demo_heatmap_grid />)
|
|
|
|
.add('高德地图2.0 imageLayer', () => <Amap2demo_imageLayer />)
|
|
|
|
.add('高德地图2.0 rasterLayer', () => <Amap2demo_rasterLayer />)
|
|
|
|
.add('高德地图2.0 citybuildLayer', () => <Amap2demo_citybuilding />)
|
2021-05-27 19:53:22 +08:00
|
|
|
|
|
|
|
.add('高德地图2.0 点击下钻', () => <Amap2demo_drilldown />)
|
|
|
|
|
|
|
|
.add('高德地图2.0 Marker图层', () => <Amap2demo_markerlayer />)
|
2021-06-08 17:39:01 +08:00
|
|
|
.add('高德地图2.0 clusterMarker图层', () => <Amap2demo_clustermarker />)
|
2021-05-27 19:53:22 +08:00
|
|
|
|
|
|
|
.add('高德地图2.0 instance实例', () => <Amap2demo_instance />)
|
|
|
|
|
|
|
|
.add('高德地图2.0 drawControl实例', () => <Amap2demo_drawControl />)
|
|
|
|
|
|
|
|
.add('高德地图2.0 mesh实例', () => <Amap2demo_mesh />)
|
2021-05-31 10:34:15 +08:00
|
|
|
.add('高德地图2.0 mesh实例2', () => <Amap2demo_mesh2 />)
|