From c6c978f82233b5ad9401aa73f3e3dab6fd588cb7 Mon Sep 17 00:00:00 2001 From: Eden Halperin Date: Wed, 28 May 2014 11:48:51 -0700 Subject: [PATCH] fix country label size discrepancy --- bin/style.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/bin/style.js b/bin/style.js index bfe51d0d4..94abd2e65 100644 --- a/bin/style.js +++ b/bin/style.js @@ -1642,6 +1642,11 @@ module.exports = { {"z": 19, "val": 12}, {"z": 20, "val": 24}, {"z": 21, "val": 48} + ], + "country_label_size": [ + "stops", + {"z": 1, "val": 14}, + {"z": 12, "val": 24} ] }, "classes": [ @@ -2185,11 +2190,7 @@ module.exports = { "country_label": { "color": "country_text", "stroke": "rgba(255,255,255,0.5)", - "size": [ - "stops", - {"z": 2, "val": 14}, - {"z": 12, "val": 24} - ] + "size": "country_label_size" }, "country_label_line": { "color": "country_text", @@ -2932,11 +2933,7 @@ module.exports = { "country_label": { "color": "text_night", "stroke": "text_stroke_night", - "size": [ - "stops", - {"z": 1, "val": 14}, - {"z": 12, "val": 24} - ] + "size": "country_label_size" }, "country_label_line": { "color": "text_night",