Type Alias BaseGeocodingOptions

BaseGeocodingOptions: LanguageGeocodingOptions & {
    adjustSearchParams?: (searchParams: URLSearchParams) => void;
    apiKey?: string;
}

Type Declaration

  • OptionaladjustSearchParams?: (searchParams: URLSearchParams) => void

    Callback function to adjust the target URL search params before fetching.

  • OptionalapiKey?: string

    Custom MapTiler Cloud API key to use instead of the one in global config.

Was this helpful?

Client JS
Reference
BaseGeocodingOptions