Display an Indoor Map

Show an Indoor Map

The Indoor Maps module facilitates access to your private indoor maps including full JSON models. The HERE Indoor Maps API also provides information about indoor spaces, buildings, level geometry and points of interest.

More information on the use of the HERE Indoor Maps API is available here.

This example shows an Indoor Map of the Zurich Airport (7348). This example also works with Tiefgarage Riem Arcaden APCOA parking garage (27158) and Mall of Berlin (22766)

Code

The example shows loading the Indoor Map using H.venues.Service and renders the indoor map using an instance of H.venues.Provider.
The example also shows how to:

  • get the list of indoor maps from the given HRN using H.venues.Service.getMapInfoList()
  • disable the base map while loading a indoor map using H.Map.setBaseLayer(layer)
  • switch to an indoor map level other than the default using H.venues.Venue.setActiveLevelIndex(levelIndex)
  • override default indoor map label text preferences using H.venues.Service.LABEL_TEXT_PREFERENCE_OVERRIDE

For complete descriptions of the parameters shown in this example, see the API Reference.