---
title: "setLngLat | Mobile sdk | Mobile sdk android | Android"
description: "setLngLat"
---

> 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.

# setLngLat

fun [setLngLat](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.annotations/-m-t-text-popup/set-lng-lat/)(lngLat: [LngLat](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map/-lng-lat/), mapViewController: [MTMapViewController](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map/-m-t-map-view-controller/))

Sets the geographical location of the popup.

#### Parameters

lngLat

Position of the popup.
