---
title: "RoutingRoute | Client js | Api client"
description: "Documentation for MapTiler Client"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface RoutingRoute

interface RoutingRoute {  
    [legs](#legs): [RoutingRouteLeg](https://docs.maptiler.com/client-js/api/interfaces/services_routing.RoutingRouteLeg/)\[\];  
    [summary](#summary): [RoutingSummary](https://docs.maptiler.com/client-js/api/interfaces/services_routing.RoutingSummary/);  
}

-   Defined in [services/routing.ts:302](https://github.com/maptiler/maptiler-client-js/blob/840c3494cc9fa876b145ae8e89c35241f91cbc6f/src/services/routing.ts#L302)

##### Index

### Properties

[legs](#legs) [summary](#summary)

## Properties

### legs[](#legs)

legs: [RoutingRouteLeg](https://docs.maptiler.com/client-js/api/interfaces/services_routing.RoutingRouteLeg/)\[\]

Route legs between waypoints

-   Defined in [services/routing.ts:307](https://github.com/maptiler/maptiler-client-js/blob/840c3494cc9fa876b145ae8e89c35241f91cbc6f/src/services/routing.ts#L307)

### summary[](#summary)

summary: [RoutingSummary](https://docs.maptiler.com/client-js/api/interfaces/services_routing.RoutingSummary/)

Summary of this route

-   Defined in [services/routing.ts:304](https://github.com/maptiler/maptiler-client-js/blob/840c3494cc9fa876b145ae8e89c35241f91cbc6f/src/services/routing.ts#L304)
