# GoogleEarthEnterpriseMetadata

#### new Cesium.GoogleEarthEnterpriseMetadata(resourceOrUrl)
Core/GoogleEarthEnterpriseMetadata.js 64

Provides metadata 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 | The url of the Google Earth Enterprise server hosting the imagery

##### See:

- GoogleEarthEnterpriseImageryProvider
- GoogleEarthEnterpriseTerrainProvider

### Members

#### imageryPresent : Boolean
Core/GoogleEarthEnterpriseMetadata.js 88

True if imagery is available.

Default Value: `true`

#### key : ArrayBuffer
Core/GoogleEarthEnterpriseMetadata.js 129

Key used to decode packets

#### negativeAltitudeExponentBias : Number
Core/GoogleEarthEnterpriseMetadata.js 109

Exponent used to compute constant to calculate negative height values.

Default Value: `32`

#### negativeAltitudeThreshold : Number
Core/GoogleEarthEnterpriseMetadata.js 116

Threshold where any numbers smaller are actually negative values. They are multiplied by -2^negativeAltitudeExponentBias.

Default Value: `EPSILON12`

#### protoImagery : Boolean
Core/GoogleEarthEnterpriseMetadata.js 95

True if imagery is sent as a protocol buffer, false if sent as plain images. If undefined we will try both.

Default Value: `undefined`

#### providers : Object
Core/GoogleEarthEnterpriseMetadata.js 123

Dictionary of provider id to copyright strings.

Default Value: `{}`

#### readonlyproxy : Proxy
Core/GoogleEarthEnterpriseMetadata.js 169

Gets the proxy used for metadata requests.

#### readonlyreadyPromise : Promise.<Boolean>
Core/GoogleEarthEnterpriseMetadata.js 193

Gets a promise that resolves to true when the metadata is ready for use.

#### readonlyresource : Resource
Core/GoogleEarthEnterpriseMetadata.js 181

Gets the resource used for metadata requests.

#### terrainPresent : Boolean
Core/GoogleEarthEnterpriseMetadata.js 102

True if terrain is available.

Default Value: `true`

#### readonlyurl : String
Core/GoogleEarthEnterpriseMetadata.js 157

Gets the name of the Google Earth Enterprise server.

### Methods

#### staticCesium.GoogleEarthEnterpriseMetadata.quadKeyToTileXY(quadkey)
Core/GoogleEarthEnterpriseMetadata.js 247

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

#### staticCesium.GoogleEarthEnterpriseMetadata.tileXYToQuadKey(x, y, level)
Core/GoogleEarthEnterpriseMetadata.js 210

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 | The tile's x coordinate.
`y` | Number | The tile's y coordinate.
`level` | Number | The tile's zoom level.

##### See:

- GoogleEarthEnterpriseMetadata#quadKeyToTileXY