import { IEvents } from '../types'; import { IconFontProps, IconFontType } from '../Icon'; export interface MarkerOptions { position: any; // AMap.LocationValue[] | AMap.LocationValue[][] | undefined; [option: string]: any } export interface MarkerProps { markerOptions: MarkerOptions; hoverLabel?: AMap.Marker.Label; events?: IEvents; } declare function Marker(props: MarkerProps): any; export default Marker; export interface IconMarkerProps extends IconFontProps { position: any; type: IconFontType; hoverLabel?: AMap.Marker.Label; } export function IconMarker(props: IconMarkerProps): any; export interface ImageMarkerProps extends MarkerProps { imageSrc?: string; innerText?:{ text:string; color?:string; position?: 'mid' | 'top' | 'bottom' | 'left' | 'right'; style?:string; } label?:{ content?:string; position?: 'mid' | 'top' | 'bottom' | 'left' | 'right'; style?:string; } } export function ImageMarker(props: ImageMarkerProps): any;