# GoogleMaps

engine/Source/Core/GoogleMaps.js 4
Default settings for accessing the Google Maps API.
An API key is only required if you are directly using any Google Maps APIs, such as through `createGooglePhotorealistic3DTileset`. Follow instructions for managing API keys for the Google Maps Platform at https://developers.google.com/maps/documentation/embed/get-api-key.
You can enable multiple Google Maps Platform APIs on a single API key. However, a separate `GoogleMaps.defaultStreetViewStaticApiKey` is available if you prefer to use a dedicated key for the Street View Static API.

##### See:

- createGooglePhotorealistic3DTileset
- https://developers.google.com/maps/documentation/embed/get-api-key

### Members

#### static Cesium.GoogleMaps.defaultApiKey : undefined|string
engine/Source/Core/GoogleMaps.js 26

Gets or sets the default Google Maps API key.

#### static Cesium.GoogleMaps.defaultStreetViewStaticApiKey : undefined|string
engine/Source/Core/GoogleMaps.js 43

Gets or sets the default Google Maps Street View Static API key.

#### static Cesium.GoogleMaps.mapTilesApiEndpoint : string|Resource
engine/Source/Core/GoogleMaps.js 34

Gets or sets the default Google Map Tiles API endpoint.

Default Value: `https://tile.googleapis.com/`

#### static Cesium.GoogleMaps.streetViewStaticApiEndpoint : string|Resource
engine/Source/Core/GoogleMaps.js 51

Gets or sets the default Google Street View Static API endpoint.

Default Value: `https://maps.googleapis.com/maps/api/streetview`

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.