---
title: "RoutingGetLocation | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> 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/sdk-js/api-reference/hierarchy/#RoutingGetLocation))

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

##### Index

### Properties

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

## Properties

### lat[](#lat)

lat: number

Latitude of the point

### lon[](#lon)

lon: number

Longitude of the point
