Maps API for JavaScript Developer's Guide

H.service.venues.Venue

Class Summary

Extends: H.map.Group

The class represents the venue, it is a root for the venue object hierarchy. The venue inherits from H.map.Group and holds building objects (see H.service.venues.Building). Building objects hold floor objects (see H.service.venues.Floor) and inherit from H.map.Group as well. Leaf objects are spaces (see H.service.venues.Space) that are spatial map objects and reside inside floor containers.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

getBuilding (id) : {(H.service.venues.Building | undefined)}

Method returns the building object, that belongs to the venue, with the given ID . The method doesn't attempt to fetch building data.

getBuildings () : {Object<*, H.service.venues.Building>}

Method returns map of all loaded buildings associated with the venue.

Class Description

The class represents the venue, it is a root for the venue object hierarchy. The venue inherits from H.map.Group and holds building objects (see H.service.venues.Building). Building objects hold floor objects (see H.service.venues.Floor) and inherit from H.map.Group as well. Leaf objects are spaces (see H.service.venues.Space) that are spatial map objects and reside inside floor containers.

Constructor Details

H.service.venues.Venue(provider, uid)

Parameters:
 
provider:
{H.map.provider.ObjectProvider}
 
The object provider of this venue
uid:
{string}
 
The unique identifier of this venue

Method Details

getBuilding (id) : {(H.service.venues.Building | undefined)}

Method returns the building object, that belongs to the venue, with the given ID . The method doesn't attempt to fetch building data.

Parameters:
 
id:
{string}
 
the ID of the building
Returns:
 
{(H.service.venues.Building | undefined)}
The requested building or undefined if building wasn't loaded

getBuildings () : {Object<*, H.service.venues.Building>}

Method returns map of all loaded buildings associated with the venue.

Returns:
 
{Object<*, H.service.venues.Building>}

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.