xgis-ol
Version:
基于openlayers + ol-ext库进行封装
109 lines (108 loc) • 5.17 kB
TypeScript
import { Projection } from "ol/proj";
import { ViewOptions } from "ol/view";
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
hasLayerTree: import("vue-types").VueTypeValidableDef<boolean> & {
default: boolean;
};
viewHeight: import("vue-types").VueTypeValidableDef<number> & {
required: true;
};
viewWidth: import("vue-types").VueTypeValidableDef<number> & {
required: true;
};
mapid: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
mapgroup: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
viewProjection: import("vue-types").VueTypeDef<string | Projection> & {
default: string | (() => Projection);
};
initTDTLayers: {
(arrayLength: number): string[];
(...items: string[]): string[];
new (arrayLength: number): string[];
new (...items: string[]): string[];
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;
};
viewOptions: import("vue-types").VueTypeValidableDef<ViewOptions>;
multiWorld: import("vue-types").VueTypeValidableDef<boolean> & {
default: boolean;
};
}>, {
heightStyle: import("vue").ComputedRef<string>;
widthStyle: import("vue").ComputedRef<string>;
layerTreeVisible: import("vue").ComputedRef<boolean>;
mapInitedHandler: (res: any) => void;
mapRef: import("vue").Ref<any, any>;
mainContainStyle: import("vue").ComputedRef<string>;
hasLayerTreeRef: import("vue").Ref<boolean, boolean>;
initTDTLayersRef: import("vue").Ref<string[], string[]>;
viewProjectionRef: import("vue").Ref<string | Projection, string | Projection>;
doLocation: (x: number, y: number, z: number | undefined) => void;
measureToolVisible: import("vue").ComputedRef<boolean>;
drawToolVisible: import("vue").ComputedRef<boolean>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "mapInited"[], "mapInited", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
hasLayerTree: import("vue-types").VueTypeValidableDef<boolean> & {
default: boolean;
};
viewHeight: import("vue-types").VueTypeValidableDef<number> & {
required: true;
};
viewWidth: import("vue-types").VueTypeValidableDef<number> & {
required: true;
};
mapid: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
mapgroup: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
viewProjection: import("vue-types").VueTypeDef<string | Projection> & {
default: string | (() => Projection);
};
initTDTLayers: {
(arrayLength: number): string[];
(...items: string[]): string[];
new (arrayLength: number): string[];
new (...items: string[]): string[];
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;
};
viewOptions: import("vue-types").VueTypeValidableDef<ViewOptions>;
multiWorld: import("vue-types").VueTypeValidableDef<boolean> & {
default: boolean;
};
}>> & Readonly<{
onMapInited?: (...args: any[]) => any;
}>, {
hasLayerTree: boolean;
mapid: string;
mapgroup: string;
viewProjection: string | Projection;
multiWorld: boolean;
}, {}, {
OLXMap: import("vue").DefineComponent<{}, {}, any>;
DrawToolBar: import("vue").DefineComponent<{}, {}, any>;
MeasureToolBar: import("vue").DefineComponent<{}, {}, any>;
MenuToolBar: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;