Skip to Content

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) : Serializable

Represents 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

IndoorMapconstructor(neLat: Double , neLng: Double , swLat: Double , swLng: Double , opacity: Double , url: String ? = null, floor: String , filename: String ? = null, angle: Double )

Properties

angle

val angle: Double

Rotation angle in degrees applied to the floor plan image for alignment.

filename

val filename: String? = null

Local filename of the floor plan image, or null if not cached locally.

floor

val floor: String

Identifier of the floor this indoor map belongs to.

neLat

val neLat: Double

Latitude of the northeast corner of the image bounding box.

neLng

val neLng: Double

Longitude of the northeast corner of the image bounding box.

opacity

val opacity: Double

Opacity of the floor plan overlay, from 0.0 (transparent) to 1.0 (opaque).

swLat

val swLat: Double

Latitude of the southwest corner of the image bounding box.

swLng

val swLng: Double

Longitude of the southwest corner of the image bounding box.

url

val url: String? = null

Remote URL of the floor plan image, or null if unavailable.

Last updated on