getRouteGeoJson

abstract suspend fun getRouteGeoJson(profile: Profile, routeRequest: RouteRequest): GeoJsonRouteResponse

Retrieves the route as GeoJSON feature collection.