Skip to content

Commit

Permalink
tested different style filtering for experimental indoor maps
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 2, 2024
1 parent 9122893 commit 92d6cfb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions webclient/app/composables/indoorLayer.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export const indoorLayers = [
{
filter: ["filter-==", "indoor", "room"],
id: "indoor-rooms",
type: "fill",
source: "indoor",
filter: ["==", "indoor", "room"],
paint: {
"fill-color": "#e0e0e0",
"fill-opacity": 0.5,
Expand All @@ -30,10 +30,10 @@ export const indoorLayers = [
},
},
{
filter: ["filter-==", "indoor", "corridor"],
id: "indoor-corridors",
type: "fill",
source: "indoor",
filter: ["==", "indoor", "corridor"],
paint: {
"fill-color": "#8dd1fc",
"fill-opacity": 0.5,
Expand All @@ -43,10 +43,10 @@ export const indoorLayers = [
},
},
{
filter: ["filter-==", "indoor", "area"],
id: "indoor-areas",
type: "fill",
source: "indoor",
filter: ["==", "indoor", "area"],
paint: {
"fill-color": "#ff0084",
"fill-outline-color": "#000",
Expand All @@ -63,7 +63,7 @@ export const indoorLayers = [
},
},
{
filter: ["filter-==", "indoor", "wall"],
filter: ["==", "indoor", "wall"],
id: "indoor-walls",
type: "fill",
source: "indoor",
Expand All @@ -73,10 +73,10 @@ export const indoorLayers = [
},
},
{
filter: ["filter-==", "indoor", "door"],
id: "indoor-doors",
type: "fill",
source: "indoor",
filter: ["==", "indoor", "door"],
paint: {
"fill-color": "#00ffcc",
"fill-opacity": 0.5,
Expand Down

0 comments on commit 92d6cfb

Please sign in to comment.