English中文

GoogleMaps

访问 Google Maps API 的默认设置。 Default settings for accessing the Google Maps API.
仅当您直接使用任何 Google 地图 API(例如通过 An API key is only required if you are directly using any Google Maps APIs, such as through createGooglePhotorealistic3DTileset。按照管理 Google 地图平台 API 密钥的说明进行操作: . Follow instructions for managing API keys for the Google Maps Platform at https://developers.google.com/maps/documentation/embed/get-api-key.
您可以在单个 API 密钥上启用多个 Google Maps Platform API。然而,一个单独的 You can enable multiple Google Maps Platform APIs on a single API key. However, a separate GoogleMaps.defaultStreetViewStaticApiKey 如果您更喜欢使用街景静态 API 的专用密钥,则可以使用该密钥。 is available if you prefer to use a dedicated key for the Street View Static API.
另见: See:

成员 Members

static Cesium.GoogleMaps.defaultApiKey : undefined|string

获取或设置默认的 Google 地图 API 密钥。 Gets or sets the default Google Maps API key.

static Cesium.GoogleMaps.defaultStreetViewStaticApiKey : undefined|string

获取或设置默认的 Google 地图街景静态 API 密钥。 Gets or sets the default Google Maps Street View Static API key.

static Cesium.GoogleMaps.mapTilesApiEndpoint : string|Resource

获取或设置默认的 Google Map Tiles API 端点。 Gets or sets the default Google Map Tiles API endpoint.
默认值: Default Value: https://tile.googleapis.com/

static Cesium.GoogleMaps.streetViewStaticApiEndpoint : string|Resource

获取或设置默认的 Google 街景静态 API 端点。 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.