Mappedin JS - v6.14.0
    Preparing search index...

    Class FloorStack

    A class representing floor stack data within the map.

    FloorStacks are used to represent a group of floors that are part of a single entity.

    Hierarchy

    • default
      • FloorStack

    Implements

    Index

    Properties

    id: string

    The identity of the map data.

    Accessors

    • get defaultFloor(): Floor

      Get the default floor for this floor stack

      Returns Floor

    • get externalId(): string

      Gets the externalId of FloorStack

      Returns string

    • get facade(): Facade | undefined

      Gets the facade (Facade) representing this floor stack, if it exists.

      Returns Facade | undefined

    • get floors(): [Floor, ...Floor[]]

      Gets the floors (Floor) included in this FloorStack.

      Returns [Floor, ...Floor[]]

      An array of Floor objects in this FloorStack.

    • get geoJSONBoundingBox(): BBox | undefined

      Gets the bounding box of the geoJSON geometry.

      Returns BBox | undefined

      The bounding box of the geoJSON geometry

    • get name(): string

      Gets the name of the FloorStack.

      Returns string

      The name of the FloorStack.

    • get shortName(): string

      Gets the short name of the FloorStack.

      Returns string

      The short name of the FloorStack.

    • get type(): "Building" | "Outdoor" | undefined

      Gets the type of FloorStack.

      Returns "Building" | "Outdoor" | undefined

    Methods

    • Serializes the FloorStack data to JSON.

      Returns {
          __type: string;
          floors: string[];
          id: string;
          name: string;
          shortName: string;
          type: "Building" | "Outdoor" | undefined;
      }

      An object representing the FloorStack.

    • Checks if the provided instance is of type FloorStack.

      Parameters

      • instance: object

        The instance to check.

      Returns instance is FloorStack

      True if the instance is a FloorStack, false otherwise.