Floor

open class Floor : GeoData, MPModelBase

Author

Daniel Nielsen - Copyright © 2017 MapsPeople A/S. All rights reserved.

Constructors

Link copied to clipboard
open fun Floor(    zLevelIndex: Int,     @NonNull name: String,     @NonNull buildingId: String)

Functions

Link copied to clipboard
open fun compareTo(@NonNull anotherFloor: Floor): Int
Compares two Floor objects based on their Z-index
Link copied to clipboard
@Nullable
open fun getBuildingId(): String
Link copied to clipboard
@Nullable
open fun getCurrentStyle(): String
Link copied to clipboard
@NonNull
open fun getDisplayName(): String
Link copied to clipboard
open fun getFloorAliases(): Array<String>
Link copied to clipboard
@NonNull
open fun getFloorId(): String
Link copied to clipboard
@NonNull
open fun getGeometry(): MultiPolygonGeometry
Link copied to clipboard
@NonNull
open fun getOutline(): Array<Array<Array<Array<Double>>>>
Retrieves this floor's outline polygon
Link copied to clipboard
@Nullable
open fun getOutlineAsLatLngList(): List<List<List<LatLng>>>
Retrieves this floor's outline polygon
Link copied to clipboard
open fun getZIndex(): Int
Link copied to clipboard
open fun isVisible(): Boolean
Link copied to clipboard
open fun setBuildingId(@NonNull buildingId: String)
Link copied to clipboard
open fun setCurrentStyle(@NonNull currentStyle: String)
Link copied to clipboard
open fun setOverlay(@NonNull style: String, @NonNull overlay: TileOverlay)
Link copied to clipboard
open fun setVisible(visible: Boolean)
Link copied to clipboard
open fun setZIndex(zIndex: Int)
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
val DEFAULT_GROUND_FLOOR_INDEX: Int
Floor index at ground level (when outside a building, venue)
Link copied to clipboard
val NO_FLOOR_INDEX: Int
Use this constant where there is no other way to find out if a floor value is valid
Link copied to clipboard
@get:Nullable
private open val tileOverlay: TileOverlay