---
title: "RoutingBicycleOptions | 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 RoutingBicycleOptions

Bicycle-specific routing options.

interface RoutingBicycleOptions {  
    [cyclingSpeed](#cyclingspeed)?: number;  
    [type](#type)?: "road" | "gravel" | "mountain" | "city";  
}

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

##### Index

### Properties

[cyclingSpeed?](#cyclingspeed) [type?](#type)

## Properties

### `Optional`cyclingSpeed[](#cyclingspeed)

cyclingSpeed?: number

Average speed along flat, smooth road, in km/h. Used to calculate ETA. The default depends on the bicycle type.

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

### `Optional`type[](#type)

type?: "road" | "gravel" | "mountain" | "city"

Bicycle type: road, gravel, mountain, city

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