import { storiesOf } from '@storybook/react'; import * as React from 'react'; import MapCenter from './components/mapCenter'; import Amap2demo from './components/amap2demo' import Amap2demo_destroy from './components/amap2demo_destroy'; import Amap2demo_extrude from './components/amap2demo_extrude' import Amapdemo_extrude from './components/amapdemo_extrude' import Amap2demo_text from './components/amap2demo_text' import Amap2demo_textSelect from './components/amap2demo_textSelect' import Amap2demo_iconfont from './components/amap2demo_iconfont'; import Amap2demo_image from './components/amap2demo_image' import Amap2demo_winds from "./components/amap2demo_winds" import Amap2demo_polygon from './components/amap2demo_polygon' import Amap2demo_polygon_extrude from './components/amap2demo_polygon_extrude' import Amap2demo_arcLine from "./components/amap2demo_arcLine" import Amap2demo_arcLine3d from "./components/amap2demo_arcLine3d" import Amap2demo_arcLine3dLinear from './components/amap2demo_arcLine3dLinear'; import Amap2demo_arcLine_greatCircle from "./components/amap2demo_arcLine_greatCircle" import Amap2demo_arcLine_greatCircleTex from "./components/amap2demo_arcLine_greatCircleTex" import Amap2demo_lineHeight from "./components/amap2demo_lineHeight" import Amap2demo_lineDash from "./components/amap2demo_lineDash" import Amap2demo_arcLineDir from "./components/amap2demo_arcLineDir" import Amap2demo_arcLineTex from './components/amap2demo_arcLineTex'; import Amap2demo_arcLineLinear from './components/amap2demo_arcLineLinear'; import Amap2demo_arcLine3DTex from './components/amap2demo_arcLine3DTex'; import Amap2demo_lineStreet from './components/amap2demo_lineStreet'; import Amap2demo_lineLinear from './components/amap2demo_lineLinear'; import Amap2demo_road from './components/amap2demo_road'; import Amap2demo_road2 from './components/amap2demo_road2'; import Amap2demo_heatmap from "./components/amap2demo_heatmap" import Amap2demo_heatmap3D from "./components/amap2demo_heatmap3D" import Amap2demo_heatmap_hexagon from "./components/amap2demo_heatmap_hexagon" import Amap2demo_heatmap_hexagon_world from './components/amap2demo_heatmap_hexagon_world'; import Amap2demo_heatmap_grid from "./components/amap2demo_heatmap_grid" import Amap2demo_imageLayer from "./components/amap2demo_imagelayer" import Amap2demo_imageTileLayer from "./components/amap2demo_imageTileLayer" import Amap2demo_rasterLayer from "./components/amap2demo_rasterlayer" import Amap2demo_citybuilding from "./components/amap2demo_citybuilding" import Amap2demo_drilldown from "./components/amap2demo_drilldown" import Amap2demo_markerlayer from "./components/amap2demo_markerlayer" import Amap2demo_markerPopup from './components/amap2demo_markerPopup'; import Amap2demo_clustermarker from './components/amap2demo_clustermarker'; import Amap2demo_instance from "./components/amap2demo_instance" import Amap2demo_drawControl from "./components/amap2demo_drawControl" import Amap2demo_mesh from "./components/amap2demo_mesh" import Amap2demo_mesh2 from "./components/amap2demo_mesh2" import Amap2demo_meshStyleMap from './components/amap2demo_meshStyleMap'; import Amap2demo_styleMap from "./components/amap2demo_styleMap" import Amap2demo_textOffset from "./components/amap2demo_textOffset" import ShapeUpdate from './components/shapeUpdate' import AmapPlugin from './components/plugin' import PointUV from './components/pointUV' import DestroyClear from './components/destroyClear' import PlaneLine from './components/planeLine' import Slider from './components/slider' import WindMap from './components/amap2demo_wind' // @ts-ignore storiesOf('地图方法', module) .add('高德地图 point/demo', () => ) .add('高德地图2.0 point/demo', () => ) .add('高德地图 point/extrude', () => ) .add('高德地图2.0 point/extrude', () => ) .add('高德地图2.0 point/text', () => ) .add('高德地图2.0 point/textSelect', () => ) .add('高德地图2.0 point/iconfont', () => ) .add('高德地图2.0 point/image', () => ) .add('高德地图2.0 polygon', () => ) .add('高德地图2.0 polygon_extrude', () => ) .add('高德地图2.0 line_arc', () => ) .add('高德地图2.0 line_arc3d_demo', () => ) .add('高德地图2.0 line_arc3d_linear_demo', () => ) .add('高德地图2.0 line_arc_greatCircle', () => ) .add('高德地图2.0 line_arc_greatCircleTex', () => ) .add('高德地图2.0 lineHeight', () => ) .add('高德地图2.0 lineDash', () => ) .add('高德地图2.0 line_arcDir', () => ) .add('高德地图2.0 line_arcTex', () => ) .add('高德地图2.0 line_arcLinear', () => ) .add('高德地图2.0 line_arc3DTex', () => ) .add('高德地图2.0 line_winds', () => ) .add('高德地图2.0 line_Street', () => ) .add('高德地图2.0 line_Linear', () => ) .add('高德地图2.0 road', () => ) .add('高德地图2.0 road2', () => ) .add('高德地图2.0 heatmap', () => ) .add('高德地图2.0 heatmap3D', () => ) .add('高德地图2.0 heatmap3D/hexagon', () => ) .add('高德地图2.0 heatmap/hexagon/world', () => ) .add('高德地图2.0 heatmap3D/grid', () => ) .add('高德地图2.0 imageLayer', () => ) .add('高德地图2.0 imageTileLayer', () => ) .add('高德地图2.0 rasterLayer', () => ) .add('高德地图2.0 citybuildLayer', () => ) .add('高德地图2.0 点击下钻', () => ) .add('高德地图2.0 Marker图层', () => ) .add('marker popup', () => ) .add('高德地图2.0 clusterMarker图层', () => ) .add('高德地图2.0 instance实例', () => ) .add('高德地图2.0 drawControl实例', () => ) .add('高德地图2.0 mesh实例', () => ) .add('高德地图2.0 mesh实例2', () => ) .add('高德地图 mesh 样式数据映射', () => ) .add('高德地图 样式数据映射', () => ) .add('高德地图 样式映射 文字偏移', () => ) .add('测试销毁', () => ) .add('ShapeUpdate', () => ) .add('WindMap', () => ) .add('AmapPlugin', () => ) .add('PointUV', () => ) .add('DestroyClear', () => ) .add('PlaneLine', () => ) .add('Slider', () => )