Description placeholder.

Export

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Private

    Creates an instance of MPVenueCollection.

    Parameters

    • venues: MPVenue[]

      A collection of venues used in MapsIndoors.

    Returns MPVenueCollection

Properties

adminIdMap: Map<String, MPVenue>

Internal.

Map between administrative ID and venues.

map: Map<String, MPVenue>

The map the objects are kept in.

Accessors

  • get size(): number
  • The number of objects in the collection.

    Returns number

Methods

  • Gets all objects contained in the collection.

    Returns MPVenue[]

  • Get a object by its identifier.

    Parameters

    • id: string

    Returns MPVenue

  • Fetch a venue by its administrative id.

    Parameters

    • id: string

    Returns MPVenue

  • Creator for MPVenueCollection, used to decode JSON from the MapsIndoors SDK.

    Parameters

    • Optional object: any

    Returns MPVenueCollection

    Static

Generated using TypeDoc