Class Wayfinding

Hierarchy

  • Wayfinding

Accessors

  • get map(): Map
  • Returns Map

  • set map(instance): void
  • Parameters

    • instance: Map

    Returns void

Constructors

Methods

  • Returns void

  • Clears the current WF path

    Returns void

    Todo

    Fire a custom event

  • Returns void

  • Parameters

    • unitId: string

    Returns Waypoint

  • Find waypath between two Waypoints

    Parameters

    Returns Waypath

    A waypath object

  • Parameters

    Returns void

  • Get turn by turn directions from two unit points

    Parameters

    • startUnitId: string

      Start unit id

    • endUnitId: string

      End unit id

    Returns MapDirectionStep[]

    An array of direction steps

  • Parameters

    • floorId: string

    Returns void

  • Parameters

    • floorId: string

    Returns boolean

  • Parameters

    • sourceUrl: string
    • key: string

    Returns Promise<unknown>

  • Returns void

  • Parameters

    • segmentIndex: number

    Returns void

  • Manual render of the way path with the provided directions

    Parameters

    Returns void

    Since

    2.0.0

  • Parameters

    • unitId: string

    Returns void

  • Parameters

    • unitId: string

    Returns void

  • Parameters

    • unitId: string
    • type: "start" | "end" = 'end'

    Returns Waypoint

  • Parameters

    • wp: Waypoint
    • type: "start" | "end" = 'end'

    Returns void

  • Parameters

    • floorId: string

    Returns void

    Todo

    Remove seems not usable

  • Parameters

    • unitId: string
    • clearOnNextSelection: boolean = false

    Returns {
        end: Waypoint;
        start: Waypoint;
    }

Properties

aegir?: AegirMap
endPin: string = '/icons/icon_end_point_select.png'
endPoint?: Waypoint
endUnit?: MapUnit
logger: Logger = logger
startPin: string = '/icons/icon_start_point_select.png'
startPoint?: Waypoint
startUnit?: MapUnit
venueMap: VenueMap

Generated using TypeDoc