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

# Type Alias BaseGeocodingOptions

BaseGeocodingOptions: [LanguageGeocodingOptions](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.LanguageGeocodingOptions/) & {  
    adjustSearchParams?: (searchParams: URLSearchParams) \=> void;  
    apiKey?: string;  
}

#### Type Declaration

-   ##### `Optional`adjustSearchParams?: (searchParams: URLSearchParams) \=> void
    
    Callback function to adjust the target URL search params before fetching.
    
-   ##### `Optional`apiKey?: string
    
    Custom MapTiler Cloud API key to use instead of the one in global `config`.
