mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 13:10:29 +00:00
add Google Maps route import and plugin corridor search
This commit is contained in:
@@ -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[]>;
|
||||
|
||||
Reference in New Issue
Block a user