GoogleMaps

访问谷歌地图API的默认设置。
仅当您直接使用任何谷歌地图API(例如通过createGooglePhotorealistic3DTileset)时才需要API密钥。 请按照https://developers.google.com/maps/documentation/embed/get-api-key中的说明管理谷歌地图平台的API密钥。
您可以在单个API密钥上启用多个谷歌地图平台API。 不过,如果您希望为街景静态API使用专用密钥,可以使用单独的GoogleMaps.defaultStreetViewStaticApiKey
See:

Members

static Cesium.GoogleMaps.defaultApiKey : undefined|string

获取或设置默认的谷歌地图API密钥。

static Cesium.GoogleMaps.defaultStreetViewStaticApiKey : undefined|string

获取或设置默认的谷歌地图街景静态API密钥。

static Cesium.GoogleMaps.mapTilesApiEndpoint : string|Resource

获取或设置默认的谷歌地图瓦片API端点。
Default Value: https://tile.googleapis.com/

static Cesium.GoogleMaps.streetViewStaticApiEndpoint : string|Resource

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