oak-common-aspect/es/map/amap.d.ts

27 lines
620 B
TypeScript

import { MapService } from "../types/Map";
import { AmapKeyType } from 'oak-external-sdk/lib/types/AMap';
export default class AMap implements MapService {
keys: Array<{
key: string;
type: AmapKeyType;
count: number;
}>;
index: number;
constructor(keys: Array<{
key: string;
type: AmapKeyType;
}>);
protected getKey(): string;
regeo(param: {
latitude: number;
longitude: number;
}): Promise<{
poiName: any;
areaId: any;
}>;
geo(param: {
name: string;
areaId?: string;
}): Promise<any>;
}