From ee6f29f79bf8c447bf2d069ecc18bf18b1196208 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Mon, 14 Dec 2015 11:14:59 +0200 Subject: Add localrank filter for city labels --- templates/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/index.html b/templates/index.html index d4d1c35..f942c5f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -106,6 +106,7 @@ var mapStyle = { "source": "mapbox", "source-layer": "place_label", "type": "symbol", + "filter": ["all", ["<=", "localrank", 6]], "layout": { "text-field": "{name_en}", "text-font": ["DIN Offc Pro Bold", "Arial Unicode MS Bold"], -- cgit v1.3.1