Stay organized with collections Save and categorize content based on your preferences.
Settings classgoogle.maps.Settings
class
Settings which control the behavior of the Maps JavaScript API as a whole.
Access by calling const {Settings} = await google.maps.importLibrary("core")
.
See Libraries in the Maps JavaScript API.
getInstance
getInstance()
Parameters: None
Return Value:Settings
Returns the singleton instance of google.maps.Settings
.
experienceIds
Notice: Available only in the v=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 the
Settings
class singleton instance. Operations on
google.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.
MapsAppCheckTokenResult interfacegoogle.maps.MapsAppCheckTokenResult
interface
Describes a Firebase App Check token result.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4