Send feedback
Settings (beta)
Stay organized with collections
Save and categorize content based on your preferences.
google.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 .
Static Methods
getInstance
getInstance()
Parameters: None
Returns the singleton instance of google.maps.Settings
.
Properties
experienceIds
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];
).
Send feedback
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 2023-06-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?