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

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

# Type Alias RoutingProfileSelection<CarOptions, TruckOptions, BicycleOptions, PedestrianOptions>

RoutingProfileSelection:  
    | { profile: "car"; profileOptions?: [CarOptions](#caroptions) }  
    | { profile: "truck"; profileOptions?: [TruckOptions](#truckoptions) }  
    | { profile: "bicycle"; profileOptions?: [BicycleOptions](#bicycleoptions) }  
    | { profile: "pedestrian"; profileOptions?: [PedestrianOptions](#pedestrianoptions) }

The `profile` and the matching `profileOptions`. Pairing a profile with options belonging to another profile is a type error, because the API accepts only the options defined for the selected profile.

#### Type Parameters

-   CarOptions
-   TruckOptions
-   BicycleOptions
-   PedestrianOptions

-   Defined in [services/routing.ts:164](https://github.com/maptiler/maptiler-client-js/blob/24dcae07591a8f57b9bf9fd7100fb66be5fdb76c/src/services/routing.ts#L164)
