react-amap-v2
Version:
高德地图 v2.0 react 组件
14 lines (13 loc) • 393 B
TypeScript
import React, { FC } from 'react';
export interface MapProps extends Omit<AMap.MapOptions, 'layers' | 'limitBounds'> {
layers?: AMap.TileLayerOptions[];
limitBounds?: {
southWest: AMap.Vector2;
northEast: AMap.Vector2;
};
style?: React.CSSProperties;
className?: string;
events?: any;
}
declare const Map: FC<MapProps>;
export default Map;