vue3-openlayers
Version:
OpenLayers Wrapper for Vue3
44 lines (43 loc) • 2.07 kB
TypeScript
import { default as Pointer, Options } from 'ol/interaction/Pointer';
import { MapBrowserEvent } from 'ol';
import { ObjectEvent } from 'ol/Object';
import { DefineComponent, ShallowRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { default as __DTS_DEFAULT_0__ } from 'ol/events/Event';
type Props = Omit<Options, "handleDownEvent" | "handleDragEvent" | "handleMoveEvent" | "handleUpEvent">;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<Props, {
pointer: ShallowRef<Pointer, Pointer>;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
change: (event: __DTS_DEFAULT_0__) => any;
error: (event: __DTS_DEFAULT_0__) => any;
propertychange: (event: ObjectEvent) => any;
drag: (data: MapBrowserEvent<UIEvent>) => any;
"change:active": (event: ObjectEvent) => any;
down: (data: MapBrowserEvent<UIEvent>) => any;
move: (data: MapBrowserEvent<UIEvent>) => any;
up: (data: MapBrowserEvent<UIEvent>) => any;
}, string, PublicProps, Readonly<Props> & Readonly<{
onChange?: ((event: __DTS_DEFAULT_0__) => any) | undefined;
onError?: ((event: __DTS_DEFAULT_0__) => any) | undefined;
onPropertychange?: ((event: ObjectEvent) => any) | undefined;
onDrag?: ((data: MapBrowserEvent<UIEvent>) => any) | undefined;
"onChange:active"?: ((event: ObjectEvent) => any) | undefined;
onDown?: ((data: MapBrowserEvent<UIEvent>) => any) | undefined;
onMove?: ((data: MapBrowserEvent<UIEvent>) => any) | undefined;
onUp?: ((data: MapBrowserEvent<UIEvent>) => any) | undefined;
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};