@uiw/react-amap-info-window
Version:
用于在地图上弹出一个详细信息展示窗体,地图上只允许同时展示 `1` 个信息窗体。
12 lines (11 loc) • 492 B
TypeScript
import React from 'react';
import { OverlayProps } from '@uiw/react-amap-map';
export * from './useInfoWindow';
export interface InfoWindowProps extends OverlayProps, AMap.InforWindowEvents, AMap.InforWindowOptions {
/** @deprecated use {@link visible} */
visiable?: boolean;
/** 覆盖物是否可见 */
visible?: boolean;
children?: JSX.Element;
}
export declare const InfoWindow: React.ForwardRefExoticComponent<InfoWindowProps & React.RefAttributes<InfoWindowProps>>;