Maps API for JavaScript Developer's Guide

H.service.venues.Floor

Class Summary

Extends: H.map.Group

The class represents the floor object in the venue hierarchy (see H.service.venues.Venue). The class holds information about floor geometry and spaces (see H.service.venues.Space) that belong to this floor.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

getLevel () : {number}

Method returns the level of the floor in the building.

getFloorSpace () : {(H.service.venues.Space | undefined)}

Method returns map geometry that represents floor boundaries.

getSpaces () : {H.map.Group}

Method returns the H.map.Group of all spaces that belong to the floor.

getBuilding () : {H.service.venues.Building}

Method returns parent object - building (see H.service.venues.Building) of the floor.

getData () : {*}

Method returns raw data associated with the floor. For more details on data format see http://developer.here.com/rest-apis/documentation/venue-maps/topics/resource-type-venue-interaction-tile-floor.html

getSpace (id) : {(H.service.venues.Space | undefined)}

Method returns the space object with the given ID, that belongs to the floor.

Class Description

The class represents the floor object in the venue hierarchy (see H.service.venues.Venue). The class holds information about floor geometry and spaces (see H.service.venues.Space) that belong to this floor.

Constructor Details

H.service.venues.Floor(provider, data, level)

Parameters:
 
provider:
{H.map.provider.ObjectProvider}
 
The object provider of this venue floor
data:
{*}
 
The meta data of this floor
level:
{number}
 
The level of this floor

Method Details

getLevel () : {number}

Method returns the level of the floor in the building.

Returns:
 
{number}

getFloorSpace () : {(H.service.venues.Space | undefined)}

Method returns map geometry that represents floor boundaries.

Returns:
 
{(H.service.venues.Space | undefined)}

getSpaces () : {H.map.Group}

Method returns the H.map.Group of all spaces that belong to the floor.

Returns:
 
{H.map.Group}

getBuilding () : {H.service.venues.Building}

Method returns parent object - building (see H.service.venues.Building) of the floor.

getData () : {*}

Method returns raw data associated with the floor. For more details on data format see http://developer.here.com/rest-apis/documentation/venue-maps/topics/resource-type-venue-interaction-tile-floor.html

Returns:
 
{*}
the raw floor data object

getSpace (id) : {(H.service.venues.Space | undefined)}

Method returns the space object with the given ID, that belongs to the floor.

Parameters:
 
id:
{string}
 
The ID of the space.
Returns:
 
{(H.service.venues.Space | undefined)}
The requested space or undefined if space not found.

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.