Files
maps-saas/apps/api/dist/maps/maps.controller.d.ts
T

30 lines
774 B
TypeScript

import type { Response } from 'express';
import { MapsService } from './maps.service';
export declare class MapsController {
private readonly mapsService;
constructor(mapsService: MapsService);
syncRoutes(): Promise<{
success: boolean;
message: string;
}>;
getStyleJson(theme: string, res: Response): Promise<any>;
getRoute(query: any): Promise<{
routeName: any;
tags: any;
distance: any;
duration: any;
trafficFactor: number;
startName: string;
endName: string;
points: any;
bbox: any;
instructions: any;
alternatives: any;
}>;
getConfig(): Promise<{
center: number[];
zoom: number;
tileServerUrl: any;
}>;
}