//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 { }