English中文

GoogleEarthEnterpriseMetadata

new Cesium.GoogleEarthEnterpriseMetadata()

要构造 GoogleEarthEnterpriseMetadata,请调用 To construct GoogleEarthEnterpriseMetadata, call GoogleEarthEnterpriseMetadata.fromUrl。不要直接调用构造函数。 . Do not call the constructor directly.
使用 Google 地球 Enterprise REST API 提供元数据。 GoogleEarthEnterpriseImageryProvider 和 GoogleEarthEnterpriseTerrainProvider 使用它来共享元数据请求。 Provides metadata using the Google Earth Enterprise REST API. This is used by the GoogleEarthEnterpriseImageryProvider and GoogleEarthEnterpriseTerrainProvider to share metadata requests.
另见: See:

成员 Members

如果图像可用,则为 true。 True if imagery is available.
默认值: Default Value: true
用于解码数据包的密钥 Key used to decode packets

negativeAltitudeExponentBias : number

用于计算常数以计算负高度值的指数。 Exponent used to compute constant to calculate negative height values.
默认值: Default Value: 32

negativeAltitudeThreshold : number

任何较小的数字实际上都是负值的阈值。它们乘以 -2^negativeAltitudeExponentBias。 Threshold where any numbers smaller are actually negative values. They are multiplied by -2^negativeAltitudeExponentBias.
默认值: Default Value: EPSILON12
如果图像作为协议缓冲区发送,则为 true;如果作为纯图像发送,则为 false。如果未定义,我们将尝试两者。 True if imagery is sent as a protocol buffer, false if sent as plain images. If undefined we will try both.
默认值: Default Value: undefined
提供商 ID 到版权字符串的字典。 Dictionary of provider id to copyright strings.
默认值: Default Value: {}
获取用于元数据请求的代理。 Gets the proxy used for metadata requests.
获取用于元数据请求的资源。 Gets the resource used for metadata requests.
如果地形可用,则为 True。 True if terrain is available.
默认值: Default Value: true
获取 Google 地球企业版服务器的名称。 Gets the name of the Google Earth Enterprise server.

方法 Methods

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

使用 Google Earth Enterprise REST API 创建元数据对象。 GoogleEarthEnterpriseImageryProvider 和 GoogleEarthEnterpriseTerrainProvider 使用它来共享元数据请求。 Creates a metadata object using the Google Earth Enterprise REST API. This is used by the GoogleEarthEnterpriseImageryProvider and GoogleEarthEnterpriseTerrainProvider to share metadata requests.
名称 Name 类型 Type 说明 Description
resourceOrUrl Resource | string 托管图像的 Google 地球企业版服务器的 URL。 The url of the Google Earth Enterprise server hosting the imagery.
返回: Returns:
解析为创建的 GoogleEarthEnterpriseMetadata 实例/的承诺 A promise which resolves to the created GoogleEarthEnterpriseMetadata instance/

static Cesium.GoogleEarthEnterpriseMetadata.quadKeyToTileXY(quadkey)

将用于从 Google 地球企业版服务器请求图像的图块的四键转换为 (x, y, level) 位置。 Converts a tile's quadkey used to request an image from a Google Earth Enterprise server into the (x, y, level) position.
名称 Name 类型 Type 说明 Description
quadkey string 方块的四键 The tile's quad key
另见: See:
  • GoogleEarthEnterpriseMetadata#tileXYToQuadKey

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

将图块(x、y、水平)位置转换为用于从 Google 地球企业版服务器请求图像的四键。 Converts a tiles (x, y, level) position into a quadkey used to request an image from a Google Earth Enterprise server.
名称 Name 类型 Type 说明 Description
x number 图块的 x 坐标。 The tile's x coordinate.
y number 图块的 y 坐标。 The tile's y coordinate.
level number 磁贴的缩放级别。 The tile's zoom level.
另见: See:
  • GoogleEarthEnterpriseMetadata#quadKeyToTileXY
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.