vue3-openlayers
Version:
OpenLayers Wrapper for Vue3
27 lines (26 loc) • 1.24 kB
TypeScript
import { default as MapZone, Options, Zone } from 'ol-ext/control/MapZone';
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { default as __DTS_DEFAULT_0__ } from 'ol/events/Event';
import { ObjectEvent } from 'ol/Object';
import { Projection } from 'ol/proj';
type __VLS_Props = Omit<Partial<Options>, "zone"> & {
zones: Zone[];
};
declare const _default: DefineComponent<__VLS_Props, {
control: ComputedRef<MapZone>;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
change: (event: __DTS_DEFAULT_0__) => any;
error: (event: __DTS_DEFAULT_0__) => any;
propertychange: (event: ObjectEvent) => any;
select: (...args: any[]) => any;
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
onChange?: ((event: __DTS_DEFAULT_0__) => any) | undefined;
onError?: ((event: __DTS_DEFAULT_0__) => any) | undefined;
onPropertychange?: ((event: ObjectEvent) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
}>, {
projection: string | Projection;
className: string;
centerOnClick: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
export default _default;