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

# 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-qmgv.pages.dev/client-js/api/hierarchy/#services/routing.RoutingGetLocation))

-   RoutingGetLocation
    -   [RoutingLocation](https://docs-qmgv.pages.dev/client-js/api/interfaces/services_routing.RoutingLocation/)

-   Defined in [services/routing.ts:52](https://github.com/maptiler/maptiler-client-js/blob/24dcae07591a8f57b9bf9fd7100fb66be5fdb76c/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/24dcae07591a8f57b9bf9fd7100fb66be5fdb76c/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/24dcae07591a8f57b9bf9fd7100fb66be5fdb76c/src/services/routing.ts#L54)
