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

A single routing location as accepted by the GET endpoint, which encodes each location as a `lon,lat` pair and therefore supports no extra fields.

interface RoutingGetLocation {  
    [lat](#lat): number;  
    [lon](#lon): number;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/client-js/api/hierarchy/#services/routing.RoutingGetLocation))

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

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

##### Index

### Properties

[lat](#lat) [lon](#lon)

## Properties

### lat[](#lat)

lat: number

Latitude of the point

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

### lon[](#lon)

lon: number

Longitude of the point

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