vue-maplibre-gl
Version:
Vue 3 plugin for maplibre-gl
39 lines (38 loc) • 1.96 kB
TypeScript
import { RasterSourceSpecification } from 'maplibre-gl';
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
declare const _default: DefineComponent<ExtractPropTypes<{
sourceId: {
type: PropType<string>;
required: true;
};
url: PropType<RasterSourceSpecification["url"]>;
tiles: PropType<RasterSourceSpecification["tiles"]>;
bounds: PropType<RasterSourceSpecification["bounds"]>;
minzoom: PropType<RasterSourceSpecification["minzoom"]>;
maxzoom: PropType<RasterSourceSpecification["maxzoom"]>;
tileSize: PropType<RasterSourceSpecification["tileSize"]>;
scheme: PropType<RasterSourceSpecification["scheme"]>;
attribution: PropType<RasterSourceSpecification["attribution"]>;
volatile: PropType<RasterSourceSpecification["volatile"]>;
}>, () => ( VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | VNode<RendererNode, RendererElement, {
[key: string]: any;
}>[] | undefined)[], {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
sourceId: {
type: PropType<string>;
required: true;
};
url: PropType<RasterSourceSpecification["url"]>;
tiles: PropType<RasterSourceSpecification["tiles"]>;
bounds: PropType<RasterSourceSpecification["bounds"]>;
minzoom: PropType<RasterSourceSpecification["minzoom"]>;
maxzoom: PropType<RasterSourceSpecification["maxzoom"]>;
tileSize: PropType<RasterSourceSpecification["tileSize"]>;
scheme: PropType<RasterSourceSpecification["scheme"]>;
attribution: PropType<RasterSourceSpecification["attribution"]>;
volatile: PropType<RasterSourceSpecification["volatile"]>;
}>> & Readonly<{}>, {}, SlotsType<{
default: {};
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
export default _default;