@map-component/react-tmap
Version:
基于腾讯地图JavaScript API GL、TypeScript 封装适用于 react 的高性能地图组件库
15 lines (14 loc) • 411 B
TypeScript
/// <reference types="@map-component/tmap-types" />
import { FC } from 'react';
declare type InfoWindowOptions = {
id: string;
content: string;
position: TMap.LatLngData;
visible?: boolean;
offset?: object;
zIndex?: number;
enableCustom?: boolean;
[key: string]: any;
};
declare const InfoWindowComponent: FC<InfoWindowOptions>;
export default InfoWindowComponent;