Companion

Functions

Link copied to clipboard
suspend fun fromUrl(resourceOrUrl: Resource): GoogleEarthEnterpriseMetadata

Creates a metadata object using the Google Earth Enterprise REST API. This is used by the GoogleEarthEnterpriseImageryProvider and GoogleEarthEnterpriseTerrainProvider to share metadata requests.

suspend fun fromUrl(resourceOrUrl: String): GoogleEarthEnterpriseMetadata
Link copied to clipboard
fun quadKeyToTileXY(quadkey: String)

Converts a tile's quadkey used to request an image from a Google Earth Enterprise server into the (x, y, level) position.

Link copied to clipboard
fun tileXYToQuadKey(x: Double, y: Double, level: Int)

Converts a tiles (x, y, level) position into a quadkey used to request an image from a Google Earth Enterprise server.