# GoogleEarthEnterpriseMetadata

#### new Cesium.GoogleEarthEnterpriseMetadata(resourceOrUrl)
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 45

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
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 69

True if imagery is available.

Default Value: `true`

#### key : ArrayBuffer
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 110

Key used to decode packets

#### negativeAltitudeExponentBias : number
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 90

Exponent used to compute constant to calculate negative height values.

Default Value: `32`

#### negativeAltitudeThreshold : number
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 97

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

Default Value: `EPSILON12`

#### protoImagery : boolean
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 76

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
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 104

Dictionary of provider id to copyright strings.

Default Value: `{}`

#### readonly proxy : Proxy
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 152

Gets the proxy used for metadata requests.

#### readonly readyPromise : Promise.<boolean>
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 176

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

#### readonly resource : Resource
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 164

Gets the resource used for metadata requests.

#### terrainPresent : boolean
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 83

True if terrain is available.

Default Value: `true`

#### readonly url : string
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 140

Gets the name of the Google Earth Enterprise server.

### Methods

#### static Cesium.GoogleEarthEnterpriseMetadata.quadKeyToTileXY(quadkey)
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 233

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)
engine/Source/Core/GoogleEarthEnterpriseMetadata.js 193

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

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.