vue-maplibre-gl
Version:
Vue 3 plugin for maplibre-gl
49 lines (48 loc) • 2.77 kB
TypeScript
import { GeoJSONSourceSpecification } 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;
};
data: PropType<GeoJSONSourceSpecification["data"]>;
maxzoom: PropType<GeoJSONSourceSpecification["maxzoom"]>;
attribution: PropType<GeoJSONSourceSpecification["attribution"]>;
buffer: PropType<GeoJSONSourceSpecification["buffer"]>;
tolerance: PropType<GeoJSONSourceSpecification["tolerance"]>;
cluster: PropType<GeoJSONSourceSpecification["cluster"]>;
clusterRadius: PropType<GeoJSONSourceSpecification["clusterRadius"]>;
clusterMaxZoom: PropType<GeoJSONSourceSpecification["clusterMaxZoom"]>;
clusterMinPoints: PropType<GeoJSONSourceSpecification["clusterMinPoints"]>;
clusterProperties: PropType<GeoJSONSourceSpecification["clusterProperties"]>;
lineMetrics: PropType<GeoJSONSourceSpecification["lineMetrics"]>;
generateId: PropType<GeoJSONSourceSpecification["generateId"]>;
promoteId: PropType<GeoJSONSourceSpecification["promoteId"]>;
filter: PropType<GeoJSONSourceSpecification["filter"]>;
}>, () => ( 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;
};
data: PropType<GeoJSONSourceSpecification["data"]>;
maxzoom: PropType<GeoJSONSourceSpecification["maxzoom"]>;
attribution: PropType<GeoJSONSourceSpecification["attribution"]>;
buffer: PropType<GeoJSONSourceSpecification["buffer"]>;
tolerance: PropType<GeoJSONSourceSpecification["tolerance"]>;
cluster: PropType<GeoJSONSourceSpecification["cluster"]>;
clusterRadius: PropType<GeoJSONSourceSpecification["clusterRadius"]>;
clusterMaxZoom: PropType<GeoJSONSourceSpecification["clusterMaxZoom"]>;
clusterMinPoints: PropType<GeoJSONSourceSpecification["clusterMinPoints"]>;
clusterProperties: PropType<GeoJSONSourceSpecification["clusterProperties"]>;
lineMetrics: PropType<GeoJSONSourceSpecification["lineMetrics"]>;
generateId: PropType<GeoJSONSourceSpecification["generateId"]>;
promoteId: PropType<GeoJSONSourceSpecification["promoteId"]>;
filter: PropType<GeoJSONSourceSpecification["filter"]>;
}>> & Readonly<{}>, {}, SlotsType<{
default: {};
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
export default _default;