add Google Maps route import and plugin corridor search

This commit is contained in:
Maurice
2026-09-12 12:24:33 +02:00
parent af45b0ca74
commit ff5fa55fad
59 changed files with 849 additions and 36 deletions
@@ -443,6 +443,9 @@ export interface SearchRequest {
lang?: string;
/** Where the person is looking, when there is somewhere to bias toward. */
near?: { lat: number; lng: number };
/** Category search within a Roadtrip search rectangle. Older hosts omit these fields. */
category?: string;
bounds?: { south: number; west: number; north: number; east: number };
}
export interface SearchProvider {
search(request: SearchRequest, ctx: PluginContext): Promise<SearchResultPlace[]>;