@vuemap/amap-jsapi-loader
Version:
高德官网提供的地图JSAPI加载器,可以避免多种异步加载API的错误用法
19 lines (18 loc) • 392 B
TypeScript
interface LoadOption {
key: string;
version?: string;
plugins?: string[];
AMapUI?: {
version?: string;
plugins?: string[];
};
Loca?: {
version?: string;
};
}
declare function reset(): void;
declare const _default: {
load: (options: LoadOption) => Promise<unknown>;
reset: typeof reset;
};
export default _default;