From b5d7898dd6d2648649084bae2b426c416dd9c9e4 Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Tue, 10 Jan 2017 15:56:23 +0100 Subject: [PATCH] Fix state source --- style.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/style.json b/style.json index 0150ebb..a289eeb 100644 --- a/style.json +++ b/style.json @@ -4057,11 +4057,11 @@ } }, { - "id": "state_label", + "id": "state", "type": "symbol", "metadata": {}, "source": "openmaptiles", - "source-layer": "state_label", + "source-layer": "place", "maxzoom": 6, "layout": { "text-field": "{name_en}", @@ -4086,7 +4086,15 @@ "text-color": "#633", "text-halo-color": "rgba(255,255,255,0.7)", "text-halo-width": 1 - } + }, + "filter": [ + "all", + [ + "==", + "class", + "state" + ] + ] }, { "id": "country_3",