xgis-ol
Version:
基于openlayers + ol-ext库进行封装
83 lines (82 loc) • 3.74 kB
TypeScript
import { XMap } from '../../core';
import { IMapContextItem } from '../../core/Models';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
xmap: {
type: typeof XMap;
required: true;
};
replace: {
type: BooleanConstructor;
default: boolean;
};
moreMenuList: {
type: {
(arrayLength: number): IMapContextItem[];
(...items: IMapContextItem[]): IMapContextItem[];
new (arrayLength: number): IMapContextItem[];
new (...items: IMapContextItem[]): IMapContextItem[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
of<T>(...items: T[]): T[];
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
readonly [Symbol.species]: ArrayConstructor;
};
default: any[];
};
target: {
type: (BooleanConstructor | StringConstructor | {
new (): Element;
prototype: Element;
})[];
default: string;
};
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "itemClicked"[], "itemClicked", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
xmap: {
type: typeof XMap;
required: true;
};
replace: {
type: BooleanConstructor;
default: boolean;
};
moreMenuList: {
type: {
(arrayLength: number): IMapContextItem[];
(...items: IMapContextItem[]): IMapContextItem[];
new (arrayLength: number): IMapContextItem[];
new (...items: IMapContextItem[]): IMapContextItem[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
of<T>(...items: T[]): T[];
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
readonly [Symbol.species]: ArrayConstructor;
};
default: any[];
};
target: {
type: (BooleanConstructor | StringConstructor | {
new (): Element;
prototype: Element;
})[];
default: string;
};
}>> & Readonly<{
onItemClicked?: (...args: any[]) => any;
}>, {
replace: boolean;
moreMenuList: IMapContextItem[];
target: string | boolean | Element;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;