MPFloor class
A MapsIndoors geographical entity. A MPFloor is contained within a MPBuilding.
- Inheritance
- Implemented types
Properties
-
aliases
→ List<
String> ? -
Get a list of aliases for the floor
no setter
- bounds → MPBounds?
-
Get the floor's bounds
no setteroverride
- buildingId ↔ String?
-
The building id of the floor
getter/setter pair
- displayName → String
-
Get the floor's displayName
no setter
- floorId → String
-
Get the floor's id value
no setter
- floorIndex → int
-
Get the floor's floorIndex
no setter
- geometry → MPMultiPolygon
-
Get the floor's geometry
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → MPFloorId
-
Get the floor's id
no setteroverride
- isPoint → bool
-
Inherited from MPEntity, a floor's geometry is never a MPPoint
no setteroverride
- position → MPPoint
-
Get the floor's position, this is usually the center of the floor's geometry
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
MPFloor other) → int -
Compares two MPFloor objects based on their floorIndex
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the MPFloor to a JSON representation that can be parsed by the MapsIndoors Platform SDK
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
Constants
- defaultGroundFloorIndex → const int
- The default floor index is 0, as that is the index of ground floors and any point outside a MPBuilding