@mapsindoors/react-native-maps-indoors-google-maps
    Preparing search index...

    Class MPFloor

    A MapsIndoors geographical entity. A floor is contained within a MPBuilding.

    MPFloor

    Hierarchy (View Summary)

    Index

    Properties

    aliases?: string[]

    An array of aliases used by the floor.

    buildingId?: string

    The ID of the building this floor lies within.

    floorIndex?: number

    The floor index of the floor.

    geometry?: MPMultiPolygon

    The geometry of the floor.

    type: string

    The type of the entity (eg. MPLocation).

    defaultGroundFloorIndex: number = 0

    The default floor index is 0, as that is the index of ground floors and any point outside a building.

    Accessors

    • get bounds(): MPBounds

      Get the floor's bounds.

      Returns MPBounds

    • get displayName(): string

      Get the floor's displayName.

      Returns string

    • get floorId(): string

      Get the floor's id.

      Returns string

    • get isPoint(): boolean

      Whether the entity's geometry is a point.

      Returns boolean

    • get position(): MPPoint

      Get the floor's position, this is usually the center of the floors geometry.

      Returns MPPoint

    Methods

    • Stringifies the entity.

      Returns string