You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
//AMap.Circle
|
|
|
|
//AMap.Map
|
|
|
|
//AMap.Icon
|
|
|
|
//AMap.Pixel
|
|
|
|
//AMap.LngLat
|
|
|
|
|
|
|
|
export interface ISelf {
|
|
|
|
self: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IMap extends ISelf {
|
|
|
|
on(eventName: string, callback: Function): void;
|
|
|
|
add(obj:any): any;
|
|
|
|
remove(obj:any): any;
|
|
|
|
setCity(city:string): any;
|
|
|
|
setZoom(zoom: number): any;
|
|
|
|
getZoom(): any;
|
|
|
|
setCenter(x:number[]): any;
|
|
|
|
getCenter(): any;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IMapOptions {
|
|
|
|
zoom?: number;
|
|
|
|
zooms?: number[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IMarker extends ISelf {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPixel extends ISelf {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ILngLat extends ISelf {
|
|
|
|
|
|
|
|
}
|