Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a building location with entrance(s) that may be distinct from its center point.

Hierarchy

Index

Constructors

constructor

  • Parameters

    • center: BuildingLocation

      Single point that represents the location, usually its center. Used as the only entrance iff there are no provided entrances.

    • entrances: BuildingLocation[]

      Location of entrance(s). If any are specified, the center is not treated as an entrance unless it is included in this list. If none are specified, the center is treated as the only entrance.

    Returns BuildingLocationWithEntrances

Methods

distance2To

distanceTo

getEntrances

  • Returns BuildingLocation[]

getFloor

  • getFloor(): string

getXY

  • getXY(): LatLng
  • Returns LatLng

Generated using TypeDoc