# GoogleEarthEnterpriseMetadata

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

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 70

True if imagery is available.

Default Value: `true`

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

Key used to decode packets

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

Exponent used to compute constant to calculate negative height values.

Default Value: `32`

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

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

Default Value: `EPSILON12`

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

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 105

Dictionary of provider id to copyright strings.

Default Value: `{}`

#### readonly proxy : Proxy
Core/GoogleEarthEnterpriseMetadata.js 151

Gets the proxy used for metadata requests.

#### readonly readyPromise : Promise.<Boolean>
Core/GoogleEarthEnterpriseMetadata.js 175

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

#### readonly resource : Resource
Core/GoogleEarthEnterpriseMetadata.js 163

Gets the resource used for metadata requests.

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

True if terrain is available.

Default Value: `true`

#### readonly url : String
Core/GoogleEarthEnterpriseMetadata.js 139

Gets the name of the Google Earth Enterprise server.

### Methods

#### static Cesium.GoogleEarthEnterpriseMetadata.quadKeyToTileXY(quadkey)
Core/GoogleEarthEnterpriseMetadata.js 232

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)
Core/GoogleEarthEnterpriseMetadata.js 192

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