map-sdk
Version:
Map SDK (JS API) for Amap(Gaode)、Baidu、Tencent、Off-line Map
24 lines (23 loc) • 601 B
TypeScript
export interface LoaderOptions {
key: string;
version?: string;
token: string;
}
interface PositionWithR {
lng: number;
lat: number;
}
type PossiblePosition = (PositionWithR | [number, number] | [number, number, number])[];
export interface CurrentPoint {
betweenTwoPoint: boolean;
path: PossiblePosition;
pathWithRInfo: PossiblePosition;
allPath: [number, number][];
animationPath: PossiblePosition;
shouldConcatBefore: boolean;
oldPath: PossiblePosition | [];
animationStatus: string;
duration: number;
directResume: boolean;
}
export {};