IndoorMap
data class IndoorMap(val neLat: Double, val neLng: Double, val swLat: Double, val swLng: Double, val opacity: Double, val url: String? = null, val floor: String, val filename: String? = null, val angle: Double) : SerializableRepresents a raster floor plan image that can be overlaid on the map for indoor visualization.
An IndoorMap defines the geographic bounding box (northeast and southwest corners), opacity, rotation angle, and the URL or filename of the floor plan image. Each indoor map is associated with a specific floor within a building.
Constructors
IndoorMap | constructor(neLat: Double , neLng: Double , swLat: Double , swLng: Double , opacity: Double , url: String ? = null, floor: String , filename: String ? = null, angle: Double ) |
Properties
angle
val angle: DoubleRotation angle in degrees applied to the floor plan image for alignment.
filename
val filename: String? = nullLocal filename of the floor plan image, or null if not cached locally.
floor
val floor: StringIdentifier of the floor this indoor map belongs to.
neLat
val neLat: DoubleLatitude of the northeast corner of the image bounding box.
neLng
val neLng: DoubleLongitude of the northeast corner of the image bounding box.
opacity
val opacity: DoubleOpacity of the floor plan overlay, from 0.0 (transparent) to 1.0 (opaque).
swLat
val swLat: DoubleLatitude of the southwest corner of the image bounding box.
swLng
val swLng: DoubleLongitude of the southwest corner of the image bounding box.
url
val url: String? = nullRemote URL of the floor plan image, or null if unavailable.