@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
14 lines (13 loc) • 598 B
TypeScript
import type { StreetViewProvider } from '../state/streetview.js';
/** Maximal distance, in meters, between a click on the map and the footage displayed for it. */
export declare const DEFAULT_STREETVIEW_SEARCH_RADIUS = 100;
export type StreetViewConfig = {
searchRadius: number;
google?: {
apiKey: string;
};
};
export declare function initConfigStreetView(config: {
streetview?: Partial<StreetViewConfig>;
}): StreetViewConfig | undefined;
export declare function isStreetViewProviderConfigured(config: StreetViewConfig | undefined, provider: StreetViewProvider): boolean;