A MapsIndoors geographical entity. A venue can exist anywhere, and it can contain a number of MPBuildings and MPLocations.

Export

Hierarchy

Constructors

  • Creates an instance of MPVenue.

    Parameters

    • id: string

      The venue's ID.

    • administrativeId: string

      The venue's readable ID.

    • tilesUrl: string

      The URL that is used to fetch tiles for the venue.

    • mapStyles: MPMapStyle[]

      An array of mapStyles that can be used on this venue.

    • geometry: MPPolygon

      The geometry of the venue.

    • defaultFloor: number

      The venue's defalt floor index.

    • venueInfo: MPVenueInfo

      A collection of information about the venue.

    • anchor: MPPoint

      The anchor point for the location.

    • entryPoints: MPPoint[]

      Points of entry that are used to create routes between MapsIndoors and the underlying map.

    • Optional externalId: string

      An optional ID used to map the venue to a customer's ID.

    • Optional graphId: string

      The ID of the graph used to route on this venue.

    Returns MPVenue

Properties

administrativeId: string

The venue's readable ID.

anchor: MPPoint

The anchor point for the location.

defaultFloor: number

The venue's defalt floor index.

entryPoints: MPPoint[]

Points of entry that are used to create routes between MapsIndoors and the underlying map.

externalId: string

An optional ID used to map the venue to a customer's ID.

geometry: MPPolygon

The geometry of the venue.

graphId?: string

The ID of the graph used to route on this venue.

id: string

The venue's ID.

mapStyles: MPMapStyle[]

An array of mapStyles that can be used on this venue.

tilesUrl: string

The URL that is used to fetch tiles for the venue.

type: string

The type of the entity (eg. MPLocation).

venueInfo: MPVenueInfo

A collection of information about the venue.

Accessors

Methods

  • Check whether the venue contains a point.

    Parameters

    Returns Promise<boolean>

    Async

  • Check whether the venue has a valid routing graph.

    Returns Promise<boolean>

    Async

  • Check whether a given mapstyle is valid for the venue.

    Parameters

    Returns boolean

Generated using TypeDoc