GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Products
  • Pricing
  • Documentation
  • Get Started with Google Maps Platform
  • Capabilities Explorer
  • Pricing & Billing
  • Security & Compliance
  • Reporting & Monitoring
  • FAQ
  • Support and Resources
  • Customer Care
  • Incident Management
  • Maps JavaScript API
  • Maps SDK for Android

This view

  • Original page
  • New address

GeezerVison is showing developers.google.com — Settings | Maps JavaScript API | Google for Developers

reviews Get a Maps Demo Key: Try out select Maps JavaScript API and Places UI Kit features at no cost with a Maps Demo Key—no billing information required.

Settings Stay organized with collections Save and categorize content based on your preferences.

Settings class

class google.maps.Settings
library "core"

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

const {Settings} = await google.maps.importLibrary("core");

Static Methods

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

Properties

contentTokens
readonly

Notice: Available only in the v=beta channel.

Type: Iterable<string>
A collection of unique content tokens generated by other services. The returned value is a copy of the internal value that is stored in the Settings instance. Operations on .contentTokens will therefore only modify the copy and not the internal value.

To update the internal value, use addContentTokens() on the singleton instance (ex: Settings.getInstance().addContentTokens([token])).
experienceIds
readonly

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.

Methods

addContentTokens

Notice: Available only in the v=beta channel.

addContentTokens(contentTokens)
Parameters:
  • contentTokens: Iterable<string> optional
Return Value: void
Registers content tokens.

MapsAppCheckTokenResult interface

interface google.maps.MapsAppCheckTokenResult

Describes a Firebase App Check token result.

Properties

token
Type: string
The Firebase App Check token.

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 2026-11-09 UTC.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.