Skip to content

Commit 12e88c6

Browse files
authored
Fix landuse logic (#563)
1 parent 449ed3d commit 12e88c6

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

styles/src/base_layers.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ export function nolabels_layers(
7474
"forest",
7575
"golf_course",
7676
"wood",
77-
"nature_reserve",
78-
"forest",
7977
"scrub",
8078
"grassland",
8179
"grass",
80+
"glacier",
81+
"sand",
8282
"military",
8383
"naval_base",
8484
"airfield",
@@ -104,17 +104,13 @@ export function nolabels_layers(
104104
],
105105
],
106106
t.park_b,
107-
[
108-
"in",
109-
["get", "kind"],
110-
["literal", ["wood", "nature_reserve", "forest"]],
111-
],
107+
["==", ["get", "kind"], "wood"],
112108
t.wood_b,
113109
["in", ["get", "kind"], ["literal", ["scrub", "grassland", "grass"]]],
114110
t.scrub_b,
115-
["in", ["get", "kind"], ["literal", ["glacier"]]],
111+
["==", ["get", "kind"], "glacier"],
116112
t.glacier,
117-
["in", ["get", "kind"], ["literal", ["sand"]]],
113+
["==", ["get", "kind"], "sand"],
118114
t.sand,
119115
[
120116
"in",

0 commit comments

Comments
 (0)