com.maptiler.maptilersdk.map.types

Types

Country-specific map label languages.

@Serializable
data class MTData(val id: String? = null, val coordinate: LngLat? = null, val point: MTPoint? = null, val dataType: String? = null, val isSourceLoaded: Boolean? = null, val source: MTSourceData? = null, val sourceDataType: String? = null)

Object sent together with MTEvent.

@Serializable(with = MTLanguageSerializer::class)
sealed interface MTLanguage

Language of the map labels.

@Serializable
enum MTMapCorner : Enum<MTMapCorner>
@Serializable
data class MTPoint(val x: Double, val y: Double)

Two numbers representing x and y screen coordinates in pixels.

@Serializable
data class MTSourceData(val type: String? = null, val url: String? = null, val attribution: String? = null)

The style spec representation of the source if the event has a dataType of source .

Custom language options.