---
title: "GeocodingOptions | 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 GeocodingOptions

GeocodingOptions: [CommonForwardAndReverseGeocodingOptions](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.CommonForwardAndReverseGeocodingOptions/) & {  
    autocomplete?: boolean;  
    bbox?: [BBox](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.BBox/);  
    country?: string\[\];  
    fuzzyMatch?: boolean;  
    proximity?: [Position](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Position/) | "ip";  
}

#### Type Declaration

-   ##### `Optional`autocomplete?: boolean
    
    Set to `true` to use autocomplete, `false` to disable it. Default is `true`.
    
-   ##### `Optional`bbox?: [BBox](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.BBox/)
    
    Only search for results in the specified area.
    
-   ##### `Optional`country?: string\[\]
    
    Limit search to specific country/countries specified as list of Alpha-2 ISO 3166-1 codes.
    
-   ##### `Optional`fuzzyMatch?: boolean
    
    Set to `false` to disable fuzzy (typo-tolerant) search. Default is `true`.
    
-   ##### `Optional`proximity?: [Position](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Position/) | "ip"
    
    Prefer results close to a specific location.
