From c4925eb5ba0ff6d135491e1a3360e3afb6f3e5e1 Mon Sep 17 00:00:00 2001 From: Kalin Dobrev Date: Mon, 24 Jun 2019 13:32:39 +0200 Subject: [PATCH] fixed rail_station_label source layer and added filter to it --- .../map_files/styles/mono-blue-water.json | 12 ++++++++++-- configuration/map_files/styles/mono-blue.json | 12 ++++++++++-- configuration/map_files/styles/mono-bw.json | 12 ++++++++++-- configuration/map_files/styles/mono-chrome.json | 12 ++++++++++-- configuration/map_files/styles/mono.json | 14 +++++++------- 5 files changed, 47 insertions(+), 15 deletions(-) diff --git a/configuration/map_files/styles/mono-blue-water.json b/configuration/map_files/styles/mono-blue-water.json index 5dcf1b2..90559d1 100755 --- a/configuration/map_files/styles/mono-blue-water.json +++ b/configuration/map_files/styles/mono-blue-water.json @@ -2948,7 +2948,7 @@ "mapbox:group": "1444849297111.495" }, "source": "mapbox", - "source-layer": "rail_station_label", + "source-layer": "poi", "layout": { "text-size": 12, "icon-image": "{class}-11", @@ -2970,7 +2970,15 @@ "text-halo-color": "hsl(0, 0%, 100%)", "text-halo-width": 1, "text-halo-blur": 0.5 - } + }, + "filter": [ + "all", + [ + "==", + "class", + "railway" + ] + ] }, { "id": "poi_label_r10+", diff --git a/configuration/map_files/styles/mono-blue.json b/configuration/map_files/styles/mono-blue.json index ec07f9f..0ade950 100755 --- a/configuration/map_files/styles/mono-blue.json +++ b/configuration/map_files/styles/mono-blue.json @@ -2944,7 +2944,7 @@ "mapbox:group": "1444849297111.495" }, "source": "mapbox", - "source-layer": "rail_station_label", + "source-layer": "poi", "layout": { "text-size": 12, "icon-image": "{class}-11", @@ -2965,7 +2965,15 @@ "text-color": "hsl(0, 0%, 100%)", "text-halo-blur": 0.5, "text-halo-width": 1 - } + }, + "filter": [ + "all", + [ + "==", + "class", + "railway" + ] + ] }, { "id": "poi_label_r10+", diff --git a/configuration/map_files/styles/mono-bw.json b/configuration/map_files/styles/mono-bw.json index 669375b..de6c64e 100644 --- a/configuration/map_files/styles/mono-bw.json +++ b/configuration/map_files/styles/mono-bw.json @@ -2960,7 +2960,7 @@ "mapbox:group": "1444849297111.495" }, "source": "mapbox", - "source-layer": "rail_station_label", + "source-layer": "poi", "layout": { "text-size": 12, "icon-image": "{class}-11", @@ -2982,7 +2982,15 @@ "text-halo-color": "hsl(0, 0%, 100%)", "text-halo-width": 1, "text-halo-blur": 0.5 - } + }, + "filter": [ + "all", + [ + "==", + "class", + "railway" + ] + ] }, { "id": "poi_label_r10+", diff --git a/configuration/map_files/styles/mono-chrome.json b/configuration/map_files/styles/mono-chrome.json index b040e9f..74a19ca 100644 --- a/configuration/map_files/styles/mono-chrome.json +++ b/configuration/map_files/styles/mono-chrome.json @@ -2995,7 +2995,7 @@ "mapbox:group": "1444849297111.495" }, "source": "mapbox", - "source-layer": "rail_station_label", + "source-layer": "poi", "layout": { "text-size": 12, "icon-image": "{class}-11", @@ -3017,7 +3017,15 @@ "text-halo-color": "hsl(0, 0%, 100%)", "text-halo-width": 1, "text-halo-blur": 0.5 - } + }, + "filter": [ + "all", + [ + "==", + "class", + "railway" + ] + ] }, { "id": "railway_line", diff --git a/configuration/map_files/styles/mono.json b/configuration/map_files/styles/mono.json index 76656bd..c3528ac 100644 --- a/configuration/map_files/styles/mono.json +++ b/configuration/map_files/styles/mono.json @@ -2837,13 +2837,13 @@ "text-halo-width": 1, "text-halo-blur": 0.5 }, - "filter": [ - "all", - [ - "==", - "class", - "railway" - ] + "filter": [ + "all", + [ + "==", + "class", + "railway" + ] ] }, {