Package-level declarations

Types

Link copied to clipboard
data class GLCoordinate2D(var x: Double, var y: Double)

A 2D point in normalized global map coordinates (fraction of the world, 0.0-1.0 on each axis).

Link copied to clipboard
data class LatLonBounds(val westExtent: Double, val southExtent: Double, val eastExtent: Double, val northExtent: Double, val wrapped: Boolean = false)

A geographic bounding box in degrees (west/south/east/north extents), used throughout the SDK to describe a layer or viewport's coverage region.

Link copied to clipboard
class Tile<DataType : TileData>(val coord: TileCoord, var data: Any? = null)

Stores TileCoord, data, hash, state, and bounds

Link copied to clipboard
data class TileBounds(val zoom: Int, var left: Int, var right: Int, var top: Int, var bottom: Int)

TileBoundsIOS.kt MapsGL Prototype

Link copied to clipboard
class TileCache<DataType : TileData>(val sourceID: String = "")

A TileCache is a cache of tiles that are currently in use by the map. It is used to keep track of which tiles are currently in use, which tiles are pending, and which tiles are stale.

Link copied to clipboard
class TileCoord(var x: Int, val y: Int, val z: Int, var offset: Int = 0, var time: String = "")

TileCoord.kt

Link copied to clipboard
interface TileData
Link copied to clipboard
Link copied to clipboard

TilePyramid.kt

Link copied to clipboard