vue3-openlayers
Version:
OpenLayers Wrapper for Vue3
26 lines (25 loc) • 1.14 kB
TypeScript
import { default as Swipe, Options } from 'ol-ext/control/Swipe';
import { Layer } from 'ol/layer';
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { default as __DTS_DEFAULT_0__ } from 'ol/events/Event';
import { ObjectEvent } from 'ol/Object';
type Props = Options & {
layers?: Layer[];
rightLayers?: Layer[];
};
declare const _default: DefineComponent<Props, {
control: ComputedRef<Swipe>;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
change: (event: __DTS_DEFAULT_0__) => any;
error: (event: __DTS_DEFAULT_0__) => any;
propertychange: (event: ObjectEvent) => any;
moving: (...args: any[]) => 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;
onMoving?: ((...args: any[]) => any) | undefined;
}>, {
className: string;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
export default _default;