@advisr/v-mapbox
Version:
Maplibre (and Mapbox) with Vue 💚
45 lines (44 loc) • 1.4 kB
TypeScript
import type { LngLatLike, Marker, PopupOptions } from 'maplibre-gl';
import type { PropType, Ref } from 'vue';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
marker: {
type: PropType<Marker>;
default: () => Marker;
required: false;
};
options: {
type: PropType<PopupOptions>;
default: () => PopupOptions;
required: true;
};
coordinates: {
type: PropType<LngLatLike>;
default: () => {};
required: true;
};
}>, {
content: Ref<HTMLElement | null, HTMLElement | null>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
marker: {
type: PropType<Marker>;
default: () => Marker;
required: false;
};
options: {
type: PropType<PopupOptions>;
default: () => PopupOptions;
required: true;
};
coordinates: {
type: PropType<LngLatLike>;
default: () => {};
required: true;
};
}>> & Readonly<{
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
}>, {
options: PopupOptions;
marker: Marker;
coordinates: LngLatLike;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;