new GoogleEarthEnterpriseMetadata()
Used to manage Google Earth Enterprise service metadata classes. Retrieve metadata information of terrain/images through REST API for Google Earth Enterprise Imagery Provider and Google Earth Enterprise Terrain Provider to share requests.
| Name | Type | Description |
|---|---|---|
options.url |
String |
The URL of the Google Earth Enterprise server hosting the images. |
options.proxy |
Proxy |
optional
Proxy used for requests. This object will have a getURL function that returns a proxy URL when needed. |
Members
-
imageryPresentBoolean
-
If there is an image, it is True.
- Default Value: true
keyArrayBuffer
The key used to decode data packets.
negativeAltitudeExponentBiasNumber
The index used to calculate constants for calculating negative height values.
- Default Value: 32
negativeAltitudeThresholdNumber
Threshold, where any smaller number is actually a negative value. They will be multiplied by a negative height component bias of -2 ^.
- Default Value: EPSILON12
protoImageryBoolean
If the image is sent in the form of a protocol buffer, it is true; If sent in pure image form, it is false. If not defined, we will try both methods simultaneously.
- Default Value: undefined
providersObject
Convert the provider ID into a dictionary of copyright strings.
- Default Value: {}
readonly resourceResource
Retrieve resources for requesting metadata
terrainPresentBoolean
If there is terrain, it is True.
- Default Value: true
readonly urlString
Get the name of the Google Earth Enterprise server.
Methods
-
static quadKeyToTileXY(quadkey)
-
Convert the tile quadkey used to request images from Google Earth Enterprise servers to (x, y, horizontal) positions.
Name Type Description quadkeyString The quadkey of tiles
- See:
-
- GoogleEarthEnterpriseMetadata#tileXYToQuadKey
-
static tileXYToQuadKey(x, y, level)
-
Convert tile (x, y, horizontal) positions to quadkeys for requesting images from Google Earth Enterprise servers.
Name Type Description xNumber The X-coordinate of the tile.
yNumber The y-coordinate of the tile.
levelNumber The degree of scaling of tiles.
- See:
-
- GoogleEarthEnterpriseMetadata#quadKeyToTileXY
-
isValid(quadkey){Boolean}
-
Verify if the quadkey of the tile is valid.
Name Type Description quadkeyString The quadkey of the tile.
Returns:
Type Description Boolean If the quadkey of the tile is valid, return true; otherwise, return false.