antv-l7/stories/MapAdaptor/Map.stories.tsx

19 lines
558 B
TypeScript

import { storiesOf } from '@storybook/react';
import * as React from 'react';
import AMap from './components/AMap';
import Mapbox from './components/Mapbox';
import Polygon from './components/Polygon';
import Point3D from './components/Point3D';
// @ts-ignore
import notes from './Map.md';
storiesOf('地图底图测试', module)
.add('高德地图', () => <AMap />, {
notes: { markdown: notes },
})
.add('Mapbox', () => <Mapbox />, {
notes: { markdown: notes },
})
.add('Polygon', () => <Polygon />)
.add('Point3D', () => <Point3D />);