GoogleEarthEnterpriseMetadata

new Cesium.GoogleEarthEnterpriseMetadata()

To construct GoogleEarthEnterpriseMetadata, call GoogleEarthEnterpriseMetadata.fromUrl. Do not call the constructor directly.
Provides metadata using the Google Earth Enterprise REST API. This is used by the GoogleEarthEnterpriseImageryProvider and GoogleEarthEnterpriseTerrainProvider to share metadata requests.
参考:

成员(属性)

True if imagery is available.
默认值: true
Key used to decode packets

negativeAltitudeExponentBias : number

Exponent used to compute constant to calculate negative height values.
默认值: 32

negativeAltitudeThreshold : number

Threshold where any numbers smaller are actually negative values. They are multiplied by -2^negativeAltitudeExponentBias.
默认值: EPSILON12
True if imagery is sent as a protocol buffer, false if sent as plain images. If undefined we will try both.
默认值: undefined
Dictionary of provider id to copyright strings.
默认值: {}
Gets the proxy used for metadata requests.
Gets the resource used for metadata requests.
True if terrain is available.
默认值: true
Gets the name of the Google Earth Enterprise server.

方法

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

Creates a metadata object using the Google Earth Enterprise REST API. This is used by the GoogleEarthEnterpriseImageryProvider and GoogleEarthEnterpriseTerrainProvider to share metadata requests.
参数名称 类型 描述信息
resourceOrUrl Resource | String The url of the Google Earth Enterprise server hosting the imagery.
返回值:
A promise which resolves to the created GoogleEarthEnterpriseMetadata instance/

static Cesium.GoogleEarthEnterpriseMetadata.quadKeyToTileXY(quadkey)

Converts a tile's quadkey used to request an image from a Google Earth Enterprise server into the (x, y, level) position.
参数名称 类型 描述信息
quadkey string The tile's quad key
参考:
  • GoogleEarthEnterpriseMetadata#tileXYToQuadKey

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

Converts a tiles (x, y, level) position into a quadkey used to request an image from a Google Earth Enterprise server.
参数名称 类型 描述信息
x number The tile's x coordinate.
y number The tile's y coordinate.
level number The tile's zoom level.
参考:
  • GoogleEarthEnterpriseMetadata#quadKeyToTileXY