要构造 GoogleEarthEnterpriseMetadata,请调用
Provides metadata using the Google Earth Enterprise REST API. This is used by the GoogleEarthEnterpriseImageryProvider
and GoogleEarthEnterpriseTerrainProvider to share metadata requests.
GoogleEarthEnterpriseMetadata.fromUrl。不要直接调用构造函数。
Members
如果有可用影像则为 true。
-
Default Value:
true
用于解码数据包的密钥。
用于计算常量以求得负高度值的指数。
-
Default Value:
32
阈值,任何小于该值的数值实际上是负值。它们会乘以 -2^negativeAltitudeExponentBias。
-
Default Value:
EPSILON12
如果影像以协议缓冲区(protocol buffer)形式发送则为 true,如果以普通图像形式发送则为 false。如果为 undefined,则会尝试两种方式。
-
Default Value:
undefined
从 provider id 到版权字符串的字典。
-
Default Value:
{}
readonly proxy : Proxy
获取用于元数据请求的代理(proxy)。
readonly resource : Resource
获取用于元数据请求的资源(resource)。
如果有可用地形则为 true。
-
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:
一个解析为已创建的 GoogleEarthEnterpriseMetadata 实例的 promise/
将用于从 Google Earth Enterprise 服务器请求图像的瓦片 quadkey 转换为
(x, y, level) 位置。
| Name | Type | Description |
|---|---|---|
quadkey |
string | 瓦片的 quad key |
- GoogleEarthEnterpriseMetadata#tileXYToQuadKey
See:
将瓦片的 (x, y, level) 位置转换为用于从
Google Earth Enterprise 服务器请求图像的 quadkey。
| Name | Type | Description |
|---|---|---|
x |
number | 瓦片的 x 坐标。 |
y |
number | 瓦片的 y 坐标。 |
level |
number | 瓦片的缩放级别。 |
- GoogleEarthEnterpriseMetadata#quadKeyToTileXY
