@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
30 lines (29 loc) • 1.03 kB
TypeScript
import GirafeHTMLElement from '../../base/GirafeHTMLElement.js';
import { Feature } from 'ol';
import { Callback } from '../../tools/state/statemanager.js';
declare class GetDirectionsArtifact extends GirafeHTMLElement {
protected templateUrl: string | null;
protected styleUrls: string[] | null;
template: () => import("uhtml").Hole;
feature?: Feature;
directionsAvailable: boolean;
showDirectionsProvidersDropdown: boolean;
onGetDirectionsFeatureChangedCallback?: Callback;
constructor();
protected connectedCallback(): void;
protected disconnectedCallback(): void;
render(): void;
registerListeners(): void;
unregisterListeners(): void;
toggleDirectionsProviders(): void;
getDirectionsProviders(): {
id: string;
icon: string;
label: string;
url: string;
}[];
handleOutsideClick(event: PointerEvent): void;
getDirectionsByUrl(url: string): void;
private onGetDirectionsFeatureChanged;
}
export default GetDirectionsArtifact;