MPIMap

@Serializable
data class MPIMap(    val id: String,     val name: String,     val shortName: String,     val elevation: Double? = null,     val scale: Double? = null,     val x_scale: Double? = null,     val _group: String)

MPIMaps represents one of the maps associated with a venue.

  • Example: map of the first floor at a given venue

Constructors

Link copied to clipboard
constructor(id: String, name: String, shortName: String, elevation: Double? = null, scale: Double? = null, x_scale: Double? = null, _group: String)

Types

Link copied to clipboard
@Serializable
data class MPICoordinate(val x: Double, val y: Double, val latitude: Double, val longitude: Double, val map: MPIMap)

MPICoordinate represents a Mappedin coordinate.

Properties

Link copied to clipboard
Link copied to clipboard
val elevation: Double? = null

Elevation level of the MPIMap

Link copied to clipboard
Link copied to clipboard
val id: String

Id of the MPIMap

Link copied to clipboard

Name of the MPIMap

Link copied to clipboard
val scale: Double? = null

Mappedin scale of the MPIMap

Link copied to clipboard

Short name of the MPIMap

Link copied to clipboard
val x_scale: Double? = null

Mappedin x scale of the MPIMap

Functions

Link copied to clipboard
fun createCoordinate(latitude: Double, longitude: Double): MPIMap.MPICoordinate?

createCoordinate takes in a lat and lon and returns a Mappedin coordinate

Link copied to clipboard