Merge pull request #62 from ldgeo/fix-ramp-type

ramp property is an integer, not a string
pull/63/head
pathmapper 5 years ago committed by GitHub
commit 23bd50214f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -243,7 +243,7 @@
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]],
"filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#e9ac77",
@ -386,7 +386,7 @@
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]],
"filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
"layout": {"line-join": "round"},
"paint": {
"line-color": "#fff4c6",
@ -565,7 +565,7 @@
"all",
["!in", "brunnel", "bridge", "tunnel"],
["!in", "class", "pedestrian", "path", "track", "service"],
["==", "ramp", "1"]
["==", "ramp", 1]
],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {
@ -586,7 +586,7 @@
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "minor"],
["!=", "ramp", "1"]
["!=", "ramp", 1]
],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {
@ -644,7 +644,7 @@
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "class", "motorway"],
["!=", "ramp", "1"]
["!=", "ramp", 1]
],
"layout": {"line-cap": "round", "line-join": "round"},
"paint": {

Loading…
Cancel
Save