UNPKG

@rsmap/vue3ol

Version:

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

23 lines (21 loc) 970 B
import { default as BingMaps, Options } from 'ol/source/BingMaps'; import { Ref, DefineComponent, ShallowRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; import { default as TileLayer } from 'ol/layer/Tile'; declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<Omit<Options, "key"> & { apiKey: string; }>, { layer: Ref<TileLayer<BingMaps>> | null | undefined; source: ShallowRef<BingMaps>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Omit<Options, "key"> & { apiKey: string; }>>>, {}, {}>; 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; }; };