---
title: "GeocodingOptions | Client js | Api client"
description: "Documentation for MapTiler Client"
---

> 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/client-js/api/types/services_geocoding.CommonForwardAndReverseGeocodingOptions/) & {  
    autocomplete?: boolean;  
    bbox?: BBox;  
    country?: string\[\];  
    fuzzyMatch?: boolean;  
    proximity?: Position | "ip";  
}

#### Type Declaration

-   ##### `Optional`autocomplete?: boolean
    
    Set to `true` to use autocomplete, `false` to disable it. Default is `true`.
    
-   ##### `Optional`bbox?: 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 | "ip"
    
    Prefer results close to a specific location.
    

-   Defined in [services/geocoding.ts:82](https://github.com/maptiler/maptiler-client-js/blob/f88659ae276c959a754e4c0f3b5c2aae1f483caa/src/services/geocoding.ts#L82)
