Skip to content

Commit 4be4ff5

Browse files
committed
updated the example app venueID to support full mapId string as well as numeric value
Signed-off-by: Ravi Singh <[email protected]>
1 parent 7aa0b00 commit 4be4ff5

File tree

6 files changed

+27
-21
lines changed

6 files changed

+27
-21
lines changed

indoor-map-movement/demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ <h1>Indoor Map - Restrict map movement</h1>
4444
</p>
4545

4646
<p>
47-
This example shows an Indoor Map of the <b>Tiefgarage Riem Arcaden APCOA parking garage (27158)</b>.
48-
This example also works with Mall of Berlin (22766) and Zurich Airport (7348)
47+
This example shows an Indoor Map of the <b>Tiefgarage Riem Arcaden APCOA parking garage</b>.
48+
This example also works with Mall of Berlin and Zurich Airport
4949
</p>
5050

5151
<div id="map"></div>

indoor-map-movement/demo.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ const yourApikey = 'ZKBUeAgkzH4JWhg93AA7cIE_kZotbMGhVI0_UYC0COY';
88
// Replace with your indoor map platform collection hrn
99
const indoorMapHrn = 'hrn:here:data::org651595200:indoormap-ed6d5667-cfe0-4748-bbf5-88b00e7e3b21-collection';
1010

11-
// Replace with the venue id for your map. This example works for maps:
12-
// 7348 - Zurich Airport
13-
// 27158 - Tiefgarage Riem Arcaden APCOA Parking garage
14-
// 22766 - Mall of Berlin
15-
const venueId = '27158';
11+
// Specify the venue ID for your map. Examples of the map ID mentioned below.
12+
// For legacy maps, you can continue to use the numeric value.
13+
// Examples:
14+
// indoormap-00000000-0000-4000-a000-000000007348 for Zurich Airport (legacy id 7348)
15+
// indoormap-00000000-0000-4000-a000-000000027158 for Tiefgarage Riem Arcaden APCOA Parking garage (legacy id 27158)
16+
// indoormap-00000000-0000-4000-a000-000000022766 for Mall of Berlin (legacy id 22766)
17+
const venueId = 'indoormap-00000000-0000-4000-a000-000000027158';
1618

1719
/**
1820
* Load and add indoor data on the map.

indoor-map-ui-interaction/demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ <h1>Indoor Map UI Interactions</h1>
4444
</p>
4545

4646
<p>
47-
This example shows an Indoor Map of the <b>Mall of Berlin (22766)</b>.
48-
This example also works with Tiefgarage Riem Arcaden APCOA parking garage (27158) and Zurich Airport (7348)
47+
This example shows an Indoor Map of the <b>Mall of Berlin</b>.
48+
This example also works with Tiefgarage Riem Arcaden APCOA parking garage and Zurich Airport
4949
</p>
5050

5151
<div id="map"></div>

indoor-map-ui-interaction/demo.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ const yourApikey = 'ZKBUeAgkzH4JWhg93AA7cIE_kZotbMGhVI0_UYC0COY';
88
// Replace with your indoor map platform collection hrn
99
const indoorMapHrn = 'hrn:here:data::org651595200:indoormap-ed6d5667-cfe0-4748-bbf5-88b00e7e3b21-collection';
1010

11-
// Replace with the venue id for your map. This example works for maps:
12-
// 7348 - Zurich Airport
13-
// 27158 - Tiefgarage Riem Arcaden APCOA Parking garage
14-
// 22766 - Mall of Berlin
15-
const venueId = '22766';
11+
// Specify the venue ID for your map. Examples of the map ID mentioned below.
12+
// For legacy maps, you can continue to use the numeric value.
13+
// Examples:
14+
// indoormap-00000000-0000-4000-a000-000000007348 for Zurich Airport (legacy id 7348)
15+
// indoormap-00000000-0000-4000-a000-000000027158 for Tiefgarage Riem Arcaden APCOA Parking garage (legacy id 27158)
16+
// indoormap-00000000-0000-4000-a000-000000022766 for Mall of Berlin (legacy id 22766)
17+
const venueId = 'indoormap-00000000-0000-4000-a000-000000022766';
1618

1719
var infoBubble;
1820

indoor-map/demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ <h1>Show an Indoor Map</h1>
4848
</p>
4949

5050
<p>
51-
This example shows an Indoor Map of the <b>Zurich Airport (7348)</b>.
52-
This example also works with Tiefgarage Riem Arcaden APCOA parking garage (27158) and Mall of Berlin (22766)
51+
This example shows an Indoor Map of the <b>Zurich Airport</b>.
52+
This example also works with Tiefgarage Riem Arcaden APCOA parking garage and Mall of Berlin
5353
</p>
5454

5555
<div id="map"></div>

indoor-map/demo.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ const yourApikey = 'ZKBUeAgkzH4JWhg93AA7cIE_kZotbMGhVI0_UYC0COY';
88
// Replace with your indoor map platform collection hrn
99
const indoorMapHrn = 'hrn:here:data::org651595200:indoormap-ed6d5667-cfe0-4748-bbf5-88b00e7e3b21-collection';
1010

11-
// Replace with the venue id for your map. This example works for maps:
12-
// 7348 - Zurich Airport
13-
// 27158 - Tiefgarage Riem Arcaden APCOA Parking garage
14-
// 22766 - Mall of Berlin
15-
const venueId = '7348';
11+
// Specify the venue ID for your map. Examples of the map ID mentioned below.
12+
// For legacy maps, you can continue to use the numeric value.
13+
// Examples:
14+
// indoormap-00000000-0000-4000-a000-000000007348 for Zurich Airport (legacy id 7348)
15+
// indoormap-00000000-0000-4000-a000-000000027158 for Tiefgarage Riem Arcaden APCOA Parking garage (legacy id 27158)
16+
// indoormap-00000000-0000-4000-a000-000000022766 for Mall of Berlin (legacy id 22766)
17+
const venueId = 'indoormap-00000000-0000-4000-a000-000000007348';
1618

1719
// The value of the drawing id varies as per the venue being loaded. Replace with appropriate value.
1820
const drawingId = 'structure-7880';

0 commit comments

Comments
 (0)