For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Variable geolocationConst

geolocation: {
    info: (options?: GeolocationInfoOptions) => Promise<GeolocationResult>;
} = ...

The geolocation namespace contains an asynchronous function to call the MapTiler Geolocation API. The Geolocation API provides a way to retrieve the IP address as well as geographic informations of a machine performing the query (most likely: a user)

Type Declaration

Was this helpful?