@mapsindoors/react-native-maps-indoors-google-maps
    Preparing search index...

    Class MPVenue

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

    MPVenue

    Hierarchy (View Summary)

    Index

    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.

      • OptionalexternalId: string

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

      • OptionalgraphId: 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

    • get bounds(): MPBounds

      Get the venue's bounds.

      Returns MPBounds

    • get defaultMapStyle(): MPMapStyle

      Get the venue's default mapstyle.

      Returns MPMapStyle

    • get isPoint(): boolean

      Inherited from MPEntity, a venue's geometry is never a MPPoint.

      Returns boolean

    • get name(): string

      Get the venue's name.

      Returns string

    • get position(): MPPoint

      Get the position of the venue, this will correspond to the venue's anchor point.

      Returns MPPoint

    Methods

    • Check whether the venue contains a point.

      Parameters

      Returns Promise<boolean>

    • Fetch a field from the venue's info member.

      Parameters

      • Optionalkey: string

      Returns MPDataField

    • Check whether the venue has a valid routing graph.

      Returns Promise<boolean>

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

      Parameters

      Returns boolean

    • Stringifies the entity.

      Returns string

    • Parses the object to a JSON object that is compatible with the MapsIndoors SDK.

      Returns MPVenueParams