You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// NOTE: In reality we mustn't rely on *_metadata layers, but in current example we need to use them due to internal implementation of indoor with QRF, this will be changed
56
56
{
57
57
"type": "fill",
58
-
"id": "building-outline",
58
+
"id": "building-metadata",
59
59
"source": "indoor-source",
60
60
"source-layer": "indoor_structure_metadata",
61
61
"minzoom": 15.0,
@@ -75,7 +75,7 @@ const indoorLayers = [
75
75
// NOTE: In reality we mustn't rely on *_metadata layers, but in current example we need to use them due to internal implementation of indoor with QRF, this will be changed
76
76
{
77
77
"type": "fill",
78
-
"id": "floor-outline",
78
+
"id": "floor-metadata",
79
79
"source": "indoor-source",
80
80
"source-layer": "indoor_floor_metadata",
81
81
"minzoom": 15.0,
@@ -421,11 +421,17 @@ const style = {
421
421
url: '',
422
422
data: {
423
423
version: 8,
424
+
schema: {
425
+
"activeFloors": {
426
+
"default": "[]",
427
+
}
428
+
},
429
+
// NOTE: In reality we mustn't rely on *_metadata layers, but in current example we need to use them due to internal implementation of indoor with QRF, this will be changed
424
430
featuresets: {
425
-
"building-outline": {
431
+
"building-metadata": {
426
432
"selectors": [
427
433
{
428
-
"layer": "building-outline",
434
+
"layer": "building-metadata",
429
435
"properties": {
430
436
"id": ["get","id"],
431
437
"type": ["get","type"],
@@ -434,10 +440,10 @@ const style = {
434
440
}
435
441
]
436
442
},
437
-
"floor-outline": {
443
+
"floor-metadata": {
438
444
"selectors": [
439
445
{
440
-
"layer": "floor-outline",
446
+
"layer": "floor-metadata",
441
447
"properties": {
442
448
"id": ["get","id"],
443
449
"is_default": ["get","is_default"],
@@ -459,9 +465,10 @@ const style = {
459
465
"url": "mapbox://mapbox-geodata.indoor-v2-next"
460
466
}
461
467
},
468
+
// Left it style but empty as indoor_manager depends on it to be present, will change it in future
0 commit comments