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