@51yzone/pc-components
Version:
An enterprise-class UI design language and React-based implementation
29 lines (28 loc) • 656 B
TypeScript
/**
* 关键字:地图
* 新增人:徐友万
* 完善中
*/
import React from 'react';
export declare type InfoWindowPropsType = {
title: string;
address: string;
};
interface IProps {
value?: number[];
infoWindowProps?: InfoWindowPropsType;
prefixCls?: string;
style?: React.CSSProperties;
className?: string;
getMapInstance?: (mapInstance: any, NDMap: any, infoWindow: any) => void;
onMapClick?: (info: any) => void;
[propName: string]: any;
}
declare global {
interface Window {
_AMapSecurityConfig: any;
_AMapKey: any;
}
}
declare const Map: React.FC<IProps>;
export default Map;