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

type ExtraGeocodingOptions \= {  
    [session](#session)?: boolean;  
}

##### Index

### Properties[](#properties)

[session?](#session)

## Properties[](#properties-1)

### `Optional`session[](#session)

session?: boolean

Specifies whether the geocoding request runs with a session logic. A "session" is started at the initialization of the SDK and finished when the browser page is being closed or refreshed. When this option is enabled, extra URL param `mtsid` is added to queries to the MapTiler Cloud API. This allows MapTiler to enable "session based billing".

Default: value of this option in global config (which is `true` by default).
