|
|
|
@ -4,7 +4,6 @@ export interface ISelf {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export interface IMap extends ISelf { |
|
|
|
|
//_component:any;
|
|
|
|
|
on(eventName: string, callback: Function); |
|
|
|
|
plugin(eventName: string[]|string, callback: Function); |
|
|
|
|
add(obj: IMarker|any): any; |
|
|
|
@ -22,7 +21,7 @@ export interface IMap extends ISelf {
|
|
|
|
|
getCenter(): any; |
|
|
|
|
getBounds(): any; |
|
|
|
|
distance(a:number[],b:number[]): any; |
|
|
|
|
setAdministrativeAreaStyle(conponent:any,getData?:Function, setData?:Function): any; //自定义 行政区划 样式
|
|
|
|
|
setAdministrativeAreaStyle(conponent:any,getData?:Function,setData?:Function): any; //自定义 行政区划 样式
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export interface IMapOptions { |
|
|
|
|