上海预案管理平台
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.
 
 
 
 
 

47 lines
823 B

//AMap.Circle
//AMap.Map
//AMap.Icon
//AMap.Pixel
//AMap.LngLat
export interface ISelf {
self: any;
readonly discriminator: "ISelf";
}
export interface IMap extends ISelf {
on(eventName: string, callback: Function);
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 {
get id(): string;
set id(str: string);
on(eventName: string, callback: Function);
}
export class IMarkOptions {
position?: ILngLat;
content?: string;
offset?: IPixel;
}
export interface IPixel extends ISelf {
}
export interface ILngLat extends ISelf {
}