vue3-openlayers
Version:
OpenLayers Wrapper for Vue3
39 lines (38 loc) • 1.84 kB
TypeScript
import { Ref, DefineComponent, ShallowRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { default as TileLayer } from 'ol/layer/Tile';
import { default as Tianditu, Options } from './TiandituClass';
import { default as __DTS_DEFAULT_0__ } from 'ol/events/Event';
import { ObjectEvent } from 'ol/Object';
import { TileSourceEvent } from 'ol/source/Tile';
import { Projection } from 'ol/proj';
import { LoadFunction } from 'ol/Tile';
import { RequestEncoding } from 'ol/source/WMTS';
declare const _default: DefineComponent<Options, {
layer: Ref<TileLayer<Tianditu>, TileLayer<Tianditu>> | null | undefined;
source: ShallowRef<Tianditu, Tianditu>;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
change: (event: __DTS_DEFAULT_0__) => any;
error: (event: __DTS_DEFAULT_0__) => any;
propertychange: (event: ObjectEvent) => any;
tileloadend: (event: TileSourceEvent) => any;
tileloaderror: (event: TileSourceEvent) => any;
tileloadstart: (event: TileSourceEvent) => any;
}, string, PublicProps, Readonly<Options> & Readonly<{
onChange?: ((event: __DTS_DEFAULT_0__) => any) | undefined;
onError?: ((event: __DTS_DEFAULT_0__) => any) | undefined;
onPropertychange?: ((event: ObjectEvent) => any) | undefined;
onTileloadend?: ((event: TileSourceEvent) => any) | undefined;
onTileloaderror?: ((event: TileSourceEvent) => any) | undefined;
onTileloadstart?: ((event: TileSourceEvent) => any) | undefined;
}>, {
projection: string | Projection;
maxZoom: number;
wrapX: boolean;
tileLoadFunction: LoadFunction;
requestEncoding: RequestEncoding;
version: string;
dimensions: any;
layerType: string;
isLabel: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
export default _default;