GoogleEarthEnterpriseMetadata

new Cesium.GoogleEarthEnterpriseMetadata()

要构建 GoogleEarthEnterpriseMetadata,请调用 GoogleEarthEnterpriseMetadata.fromUrl. 不要直接调用构造函数。
使用 Google Earth Enterprise REST API 提供元数据。此函数由 GoogleEarthEnterpriseImageryProvider 使用 和 GoogleEarthEnterpriseTerrainProvider 共享元数据请求。
See:

Members

True if imagery is available.
Default Value: true
用于解码数据包的密钥

negativeAltitudeExponentBias : number

指数 用于计算常数以计算负高度值。
Default Value: 32

negativeAltitudeThreshold : number

阈值,其中任何较小的数字实际上是负值。它们乘以 -2^negativeAltitudeExponentBias。
Default Value: EPSILON12
如果图像作为协议缓冲区发送,则为 True,如果作为纯图像发送,则为 false。如果未定义,我们将同时尝试两者。
Default Value: undefined
Dictionary of provider id to copyright strings.
Default Value: {}
获取用于元数据请求的代理。
获取用于元数据请求的资源。
True if terrain is available.
Default Value: true
获取 Google Earth Enterprise 服务器的名称。

Methods

static Cesium.GoogleEarthEnterpriseMetadata.fromUrl(resourceOrUrl)Promise.<GoogleEarthEnterpriseMetadata>

使用 Google Earth Enterprise REST API 创建元数据对象。此函数由 GoogleEarthEnterpriseImageryProvider 使用 和 GoogleEarthEnterpriseTerrainProvider 共享元数据请求。
Name Type Description
resourceOrUrl Resource | String 托管影像的 Google Earth Enterprise 服务器的 URL。
Returns:
一个 Promise,它解析为创建的 GoogleEarthEnterpriseMetadata 实例/

static Cesium.GoogleEarthEnterpriseMetadata.quadKeyToTileXY(quadkey)

将用于从 Google Earth Enterprise 服务器请求图像的瓦片的 quad 键转换为 (x, y, level) 位置。
Name Type Description
quadkey string 瓦片的四键
See:
  • GoogleEarthEnterpriseMetadata#tileXYToQuadKey

static Cesium.GoogleEarthEnterpriseMetadata.tileXYToQuadKey(x, y, level)

将图块 (x, y, level) 位置转换为用于请求图像的四边形键 从 Google Earth Enterprise 服务器。
Name Type Description
x number 瓦片的 x 坐标。
y number 瓦片的 y 坐标。
level number 磁贴的缩放级别。
See:
  • GoogleEarthEnterpriseMetadata#quadKeyToTileXY
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.