fixed rail_station_label source layer and added filter to it
This commit is contained in:
parent
7487d11e3d
commit
c4925eb5ba
5 changed files with 47 additions and 15 deletions
|
|
@ -2948,7 +2948,7 @@
|
||||||
"mapbox:group": "1444849297111.495"
|
"mapbox:group": "1444849297111.495"
|
||||||
},
|
},
|
||||||
"source": "mapbox",
|
"source": "mapbox",
|
||||||
"source-layer": "rail_station_label",
|
"source-layer": "poi",
|
||||||
"layout": {
|
"layout": {
|
||||||
"text-size": 12,
|
"text-size": 12,
|
||||||
"icon-image": "{class}-11",
|
"icon-image": "{class}-11",
|
||||||
|
|
@ -2970,7 +2970,15 @@
|
||||||
"text-halo-color": "hsl(0, 0%, 100%)",
|
"text-halo-color": "hsl(0, 0%, 100%)",
|
||||||
"text-halo-width": 1,
|
"text-halo-width": 1,
|
||||||
"text-halo-blur": 0.5
|
"text-halo-blur": 0.5
|
||||||
}
|
},
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"class",
|
||||||
|
"railway"
|
||||||
|
]
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "poi_label_r10+",
|
"id": "poi_label_r10+",
|
||||||
|
|
|
||||||
|
|
@ -2944,7 +2944,7 @@
|
||||||
"mapbox:group": "1444849297111.495"
|
"mapbox:group": "1444849297111.495"
|
||||||
},
|
},
|
||||||
"source": "mapbox",
|
"source": "mapbox",
|
||||||
"source-layer": "rail_station_label",
|
"source-layer": "poi",
|
||||||
"layout": {
|
"layout": {
|
||||||
"text-size": 12,
|
"text-size": 12,
|
||||||
"icon-image": "{class}-11",
|
"icon-image": "{class}-11",
|
||||||
|
|
@ -2965,7 +2965,15 @@
|
||||||
"text-color": "hsl(0, 0%, 100%)",
|
"text-color": "hsl(0, 0%, 100%)",
|
||||||
"text-halo-blur": 0.5,
|
"text-halo-blur": 0.5,
|
||||||
"text-halo-width": 1
|
"text-halo-width": 1
|
||||||
}
|
},
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"class",
|
||||||
|
"railway"
|
||||||
|
]
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "poi_label_r10+",
|
"id": "poi_label_r10+",
|
||||||
|
|
|
||||||
|
|
@ -2960,7 +2960,7 @@
|
||||||
"mapbox:group": "1444849297111.495"
|
"mapbox:group": "1444849297111.495"
|
||||||
},
|
},
|
||||||
"source": "mapbox",
|
"source": "mapbox",
|
||||||
"source-layer": "rail_station_label",
|
"source-layer": "poi",
|
||||||
"layout": {
|
"layout": {
|
||||||
"text-size": 12,
|
"text-size": 12,
|
||||||
"icon-image": "{class}-11",
|
"icon-image": "{class}-11",
|
||||||
|
|
@ -2982,7 +2982,15 @@
|
||||||
"text-halo-color": "hsl(0, 0%, 100%)",
|
"text-halo-color": "hsl(0, 0%, 100%)",
|
||||||
"text-halo-width": 1,
|
"text-halo-width": 1,
|
||||||
"text-halo-blur": 0.5
|
"text-halo-blur": 0.5
|
||||||
}
|
},
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"class",
|
||||||
|
"railway"
|
||||||
|
]
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "poi_label_r10+",
|
"id": "poi_label_r10+",
|
||||||
|
|
|
||||||
|
|
@ -2995,7 +2995,7 @@
|
||||||
"mapbox:group": "1444849297111.495"
|
"mapbox:group": "1444849297111.495"
|
||||||
},
|
},
|
||||||
"source": "mapbox",
|
"source": "mapbox",
|
||||||
"source-layer": "rail_station_label",
|
"source-layer": "poi",
|
||||||
"layout": {
|
"layout": {
|
||||||
"text-size": 12,
|
"text-size": 12,
|
||||||
"icon-image": "{class}-11",
|
"icon-image": "{class}-11",
|
||||||
|
|
@ -3017,7 +3017,15 @@
|
||||||
"text-halo-color": "hsl(0, 0%, 100%)",
|
"text-halo-color": "hsl(0, 0%, 100%)",
|
||||||
"text-halo-width": 1,
|
"text-halo-width": 1,
|
||||||
"text-halo-blur": 0.5
|
"text-halo-blur": 0.5
|
||||||
}
|
},
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"class",
|
||||||
|
"railway"
|
||||||
|
]
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "railway_line",
|
"id": "railway_line",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue