Maps API for JavaScript Developer's Guide

H.service.venues.Building

Class Summary

Extends: H.map.Group

The class represents the building in the venue hiearachy (see H.service.venues.Venue) and holds floors that belong to the building.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

getVenue () : {H.service.venues.Venue}

Method returns the parent object - venue (see H.service.venues.Venue) to which the building belongs to.

getMinLevel () : {number}

Method returns the minimum floor level of this building.

getMaxLevel () : {number}

Method returns the maximum floor level of this building

getFloor (level) : {(H.service.venues.Floor | undefined)}

Method returns the floor (see H.service.venues.Floor) if one was already loaded. This method doesn't make attempt to fetch the floor data.

Class Description

The class represents the building in the venue hiearachy (see H.service.venues.Venue) and holds floors that belong to the building.

Constructor Details

H.service.venues.Building(provider, uid, minLevel, maxLevel)

Parameters:
 
provider:
{H.map.provider.ObjectProvider}
 
The object provider of this venue building
uid:
{string}
 
The unique identifier of this building
minLevel:
{number}
 
The minimum floor level of this building
maxLevel:
{number}
 
The maximum floor level of this building

Method Details

getVenue () : {H.service.venues.Venue}

Method returns the parent object - venue (see H.service.venues.Venue) to which the building belongs to.

Returns:
 
{H.service.venues.Venue}

getMinLevel () : {number}

Method returns the minimum floor level of this building.

Returns:
 
{number}

getMaxLevel () : {number}

Method returns the maximum floor level of this building

Returns:
 
{number}

getFloor (level) : {(H.service.venues.Floor | undefined)}

Method returns the floor (see H.service.venues.Floor) if one was already loaded. This method doesn't make attempt to fetch the floor data.

Parameters:
 
level:
{number}
 
floor level within minimum and maximum level boundaries for the building
Returns:
 
{(H.service.venues.Floor | undefined)}
The floor object or undefined if floor was not loaded

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.