UNPKG

@rsmap/vue3ol

Version:

使用 vue3 风格封装后的 Openlayer 地图组件库。

81 lines (79 loc) 2.69 kB
import { default as ImageArcGISRest, Options } from 'ol/source/ImageArcGISRest'; import { Ref, DefineComponent, ShallowRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; import { default as Projection, Options as ProjectionOptions } from 'ol/proj/Projection'; import { Extent } from 'ol/extent'; import { default as ImageLayer } from 'ol/layer/Image'; import { ProjectionLike } from 'ol/proj'; declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Options & { projection: ProjectionLike | ProjectionOptions; imageExtent?: Extent; reprojectionErrorThreshold?: number; format?: string; version?: string; matrixSet?: string; serverType?: string; imageSmoothing?: boolean; layers: string | any[]; styles?: string | any[]; imageSize?: number[]; }>, { projection: string; reprojectionErrorThreshold: number; format: string; version: string; serverType: string; imageSmoothing: boolean; styles: string; ratio: number; }>, { layer: Ref<ImageLayer<ImageArcGISRest>> | null | undefined; source: ShallowRef<ImageArcGISRest>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Options & { projection: ProjectionLike | ProjectionOptions; imageExtent?: Extent; reprojectionErrorThreshold?: number; format?: string; version?: string; matrixSet?: string; serverType?: string; imageSmoothing?: boolean; layers: string | any[]; styles?: string | any[]; imageSize?: number[]; }>, { projection: string; reprojectionErrorThreshold: number; format: string; version: string; serverType: string; imageSmoothing: boolean; styles: string; ratio: number; }>>>, { styles: string | any[]; projection: ((string | Projection) & (string | Projection | ProjectionOptions)) | undefined; format: string; reprojectionErrorThreshold: number; ratio: number; version: string; serverType: string; imageSmoothing: boolean; }, {}>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_Prettify<T> = { [K in keyof T]: T[K]; } & {};