MPIMap

data class MPIMap(id: String, name: String, shortName: String, elevation: Double?, scale: Double?, x_scale: Double?, _group: String)

MPIMaps represents one of the maps associated with a venue.

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

Constructors

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

Types

MPICoordinate
Link copied to clipboard
data class MPICoordinate(x: Double, y: Double, latitude: Double, longitude: Double, map: MPIMap)
MPICoordinate represents a Mappedin coordinate.

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): String
component4
Link copied to clipboard
operator fun component4(): Double?
component5
Link copied to clipboard
operator fun component5(): Double?
component6
Link copied to clipboard
operator fun component6(): Double?
component7
Link copied to clipboard
operator fun component7(): String
copy
Link copied to clipboard
fun copy(id: String, name: String, shortName: String, elevation: Double? = null, scale: Double? = null, x_scale: Double? = null, _group: String): MPIMap
createCoordinate
Link copied to clipboard
fun createCoordinate(latitude: Double, longitude: Double): MPIMap.MPICoordinate?
createCoordinate takes in a lat and lon and returns a Mappedin coordinate
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

_group
Link copied to clipboard
val _group: String
elevation
Link copied to clipboard
val elevation: Double? = null
Elevation level of the MPIMap
  • Example: 1

group
Link copied to clipboard
var group: MPIMapGroup? = null
id
Link copied to clipboard
val id: String
Id of the MPIMap
name
Link copied to clipboard
val name: String
Name of the MPIMap
  • Example: "Upper Level"

scale
Link copied to clipboard
val scale: Double? = null
Mappedin scale of the MPIMap
shortName
Link copied to clipboard
val shortName: String
Short name of the MPIMap
  • Example: "L2"

x_scale
Link copied to clipboard
val x_scale: Double? = null
Mappedin x scale of the MPIMap