libre-routing
Version:
This library was generated with [Nx](https://nx.dev).
21 lines (20 loc) • 589 B
TypeScript
import type { LibreRouting } from 'libre-routing';
import { Popup } from 'maplibre-gl';
export interface AnnotationPopupComponentI {
container: HTMLElement;
destroy(): void;
}
export interface OnAttach {
onAttach(popup: Popup): void;
}
export declare class AnnotationPopupComponent implements AnnotationPopupComponentI {
private routeId;
private ctx;
readonly container: any;
private routeSelectedHandler;
constructor(routeId: any, data: any, ctx: LibreRouting);
private render;
destroy(): void;
private routeSelected;
private applyColor;
}