ramp property is integer, not string
This commit is contained in:
parent
362f1a2074
commit
df01b43dad
10
style.json
10
style.json
@ -243,7 +243,7 @@
|
|||||||
"type": "line",
|
"type": "line",
|
||||||
"source": "openmaptiles",
|
"source": "openmaptiles",
|
||||||
"source-layer": "transportation",
|
"source-layer": "transportation",
|
||||||
"filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]],
|
"filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
|
||||||
"layout": {"line-join": "round"},
|
"layout": {"line-join": "round"},
|
||||||
"paint": {
|
"paint": {
|
||||||
"line-color": "#e9ac77",
|
"line-color": "#e9ac77",
|
||||||
@ -386,7 +386,7 @@
|
|||||||
"type": "line",
|
"type": "line",
|
||||||
"source": "openmaptiles",
|
"source": "openmaptiles",
|
||||||
"source-layer": "transportation",
|
"source-layer": "transportation",
|
||||||
"filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]],
|
"filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
|
||||||
"layout": {"line-join": "round"},
|
"layout": {"line-join": "round"},
|
||||||
"paint": {
|
"paint": {
|
||||||
"line-color": "#fff4c6",
|
"line-color": "#fff4c6",
|
||||||
@ -565,7 +565,7 @@
|
|||||||
"all",
|
"all",
|
||||||
["!in", "brunnel", "bridge", "tunnel"],
|
["!in", "brunnel", "bridge", "tunnel"],
|
||||||
["!in", "class", "pedestrian", "path", "track", "service"],
|
["!in", "class", "pedestrian", "path", "track", "service"],
|
||||||
["==", "ramp", "1"]
|
["==", "ramp", 1]
|
||||||
],
|
],
|
||||||
"layout": {"line-cap": "round", "line-join": "round"},
|
"layout": {"line-cap": "round", "line-join": "round"},
|
||||||
"paint": {
|
"paint": {
|
||||||
@ -586,7 +586,7 @@
|
|||||||
["==", "$type", "LineString"],
|
["==", "$type", "LineString"],
|
||||||
["!in", "brunnel", "bridge", "tunnel"],
|
["!in", "brunnel", "bridge", "tunnel"],
|
||||||
["in", "class", "minor"],
|
["in", "class", "minor"],
|
||||||
["!=", "ramp", "1"]
|
["!=", "ramp", 1]
|
||||||
],
|
],
|
||||||
"layout": {"line-cap": "round", "line-join": "round"},
|
"layout": {"line-cap": "round", "line-join": "round"},
|
||||||
"paint": {
|
"paint": {
|
||||||
@ -644,7 +644,7 @@
|
|||||||
"all",
|
"all",
|
||||||
["!in", "brunnel", "bridge", "tunnel"],
|
["!in", "brunnel", "bridge", "tunnel"],
|
||||||
["==", "class", "motorway"],
|
["==", "class", "motorway"],
|
||||||
["!=", "ramp", "1"]
|
["!=", "ramp", 1]
|
||||||
],
|
],
|
||||||
"layout": {"line-cap": "round", "line-join": "round"},
|
"layout": {"line-cap": "round", "line-join": "round"},
|
||||||
"paint": {
|
"paint": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user