Places UI Kit: A ready-to-use library that provides room for customization and low-code development. Try it out, and share yourinput on your UI Kit experience.

Settings

Settingsclass

google.maps.Settingsclass

Settings which control the behavior of the Maps JavaScript API as a whole.

Access by callingconst {Settings} = await google.maps.importLibrary("core").
SeeLibraries in the Maps JavaScript API.

Static Methods

getInstance
getInstance()
Parameters:  None
Return Value: Settings
Returns the singleton instance ofgoogle.maps.Settings.

Properties

BetaexperienceIds

Notice: Available only in thev=beta channel.

Type: Iterable<string>
A collection of unique experience IDs to which to attribute Maps JS API calls. The returned value is a copy of the internal value that is stored in theSettings class singleton instance. Operations ongoogle.maps.Settings.getInstance().experienceIds will therefore only modify the copy and not the internal value.

To update the internal value, set the property equal to the new value on the singleton instance (ex:google.maps.Settings.getInstance().experienceIds = [experienceId];).
fetchAppCheckToken
Type: function():Promise<MapsAppCheckTokenResult>
Set this property to a function that returns a promise which resolves to a Firebase App Check token result.

MapsAppCheckTokenResultinterface

google.maps.MapsAppCheckTokenResultinterface

Describes a Firebase App Check token result.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-21 UTC.