GoogleMaps

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.
参考:

成员(属性)

static Cesium.GoogleMaps.defaultApiKey : undefined|string

Gets or sets the default Google Maps API key.

static Cesium.GoogleMaps.defaultStreetViewStaticApiKey : undefined|string

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

static Cesium.GoogleMaps.mapTilesApiEndpoint : string|Resource

Gets or sets the default Google Map Tiles API endpoint.
默认值: https://tile.googleapis.com/

static Cesium.GoogleMaps.streetViewStaticApiEndpoint : string|Resource

Gets or sets the default Google Street View Static API endpoint.
默认值: https://maps.googleapis.com/maps/api/streetview