Package-level declarations

Types

Link copied to clipboard
enum Anchor : Enum<Anchor>
Link copied to clipboard
data class AnchorOffset(var x: Double = 0.0, var y: Double = 0.0)
Link copied to clipboard
Link copied to clipboard

SampleChannel.kt

Link copied to clipboard
Link copied to clipboard
data class Coordinate(var lat: Double, var lon: Double)
Link copied to clipboard
data class CoordinateBounds(val north: Double, val west: Double, val south: Double, val east: Double)
Link copied to clipboard

Determines the quality of the data when rendered.

Link copied to clipboard
class DataSourceConsumer(val layerId: String, var sourceLayerId: String? = null) : LayerMetadata
Link copied to clipboard

DataSourceType.kt

Link copied to clipboard
Link copied to clipboard
data class ElevationScale(var metersToTile: Float, var metersToLabelSpace: Float)
Link copied to clipboard
interface EncodedSampling
Link copied to clipboard
typealias Headers = <Error class: unknown class><Any, Any>

Headers.kt

Link copied to clipboard
interface ILayerMetadata
Link copied to clipboard
Link copied to clipboard
open class LayerMetadata(val layerId: String, val sourceLayerId: String? = null) : ILayerMetadata
Link copied to clipboard
Link copied to clipboard

Provides a common interface when communicating between data layers and the associated map.

Link copied to clipboard
interface Observable
Link copied to clipboard
data class PlotCoordinate(var x: Float, var y: Float, var z: Float)

A PlotCoordinate represents a projected three-dimensional position where { x: 0, y: 0, z: 0 } represents the top-left corner of the viewport or render region, and { x: 1, y: 1, z: 0 } represents the bottom-right corner. The coordinate z value is only used for spherical and three-dimensional map projections as altitude.

Link copied to clipboard
data class Point(val x: Double, val y: Double)

Represents a Cartesian position.

Link copied to clipboard
data class Point3Int(val x: Int, val y: Int, val z: Int = 0)
Link copied to clipboard
data class Rect(val left: Int, val right: Int, val top: Int, val bottom: Int)
Link copied to clipboard
Link copied to clipboard
class SampleChannel(var rawValue: Int)
Link copied to clipboard
Link copied to clipboard
data class Size(var width: Int, var height: Int = width)

If you specify one integer, both height and width will be set to that value.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TileSize(var width: Int, var height: Int)

TileSize.kt

Link copied to clipboard
class URLRequest(val urlString: String, var method: String = "GET", var headers: MutableMap<String, String> = emptyMap<String, String>().toMutableMap(), var queryParams: MutableMap<String, String> = emptyMap<String, String>().toMutableMap(), var body: String? = null, var contentType: String = "application/json")
Link copied to clipboard
data class URLResponse(val data: Any?, val headers: Map<String, List<String>>, val statusCode: Int, val contentType: String?)

Functions

Link copied to clipboard
fun TileSize(size: Int): TileSize