GoogleMaps

访问 Google Maps API 的默认设置。
只有在直接使用任何 Google Maps API(例如通过 createGooglePhotorealistic3DTileset)时才需要 API 密钥。 有关管理 Google Maps Platform API 密钥的说明,请参见 https://developers.google.com/maps/documentation/embed/get-api-key
你可以在单个 API 密钥上启用多个 Google Maps Platform API。 不过,如果你希望为 Street View Static API 使用专用密钥,可以使用单独的 GoogleMaps.defaultStreetViewStaticApiKey
See:

Members

static Cesium.GoogleMaps.defaultApiKey : undefined|string

获取或设置默认的 Google Maps API 密钥。

static Cesium.GoogleMaps.defaultStreetViewStaticApiKey : undefined|string

获取或设置默认的 Google Maps Street View Static API 密钥。

static Cesium.GoogleMaps.mapTilesApiEndpoint : string|Resource

获取或设置默认的 Google Map Tiles API 端点。
Default Value: https://tile.googleapis.com/

static Cesium.GoogleMaps.streetViewStaticApiEndpoint : string|Resource

获取或设置默认的 Google Street View Static API 端点。
Default Value: https://maps.googleapis.com/maps/api/streetview
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。