On this page
Properties

Type Alias ExtraGeocodingOptions

type ExtraGeocodingOptions = {
    session?: boolean;
}
Index

Properties

Properties

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).

Was this helpful?
SDK JS
Reference
ExtraGeocodingOptions