vue-maplibre-gl
Version:
Vue 3 plugin for maplibre-gl
8 lines (7 loc) • 353 B
TypeScript
import { Source } from 'maplibre-gl';
import { Ref } from 'vue';
export declare class SourceLib {
private static readonly REFS;
static genSourceOpts<T extends object, O extends object>(type: string, props: object, sourceOpts: Array<keyof O>): T;
static getSourceRef<T extends Source>(mcid: number, source: any): Ref<T | undefined | null>;
}