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

# Function info

-   info(options?: [GeolocationInfoOptions](https://docs.maptiler.com/sdk-js/api-reference/types/GeolocationInfoOptions/)): Promise<[GeolocationResult](https://docs.maptiler.com/sdk-js/api-reference/types/GeolocationResult/)\>[](#info)
    
    Looks up geolocation details from IP address using MapTiler API. Learn more on the MapTiler API reference page: [https://docs.maptiler.com/cloud/api/geolocation/#ip-geolocation](https://docs.maptiler.com/cloud/api/geolocation/#ip-geolocation)
    
    #### Parameters
    
    -   `Optional`options: [GeolocationInfoOptions](https://docs.maptiler.com/sdk-js/api-reference/types/GeolocationInfoOptions/)
    
    #### Returns Promise<[GeolocationResult](https://docs.maptiler.com/sdk-js/api-reference/types/GeolocationResult/)\>
