From 600acd89ac803a8d46ea773fb5d3e5d0e6778e45 Mon Sep 17 00:00:00 2001 From: Nicki Dlugash Date: Fri, 30 May 2014 17:52:07 -0400 Subject: [PATCH] changed all labels to name_en --- bin/style.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/bin/style.js b/bin/style.js index 733cb0c02..1782aff33 100644 --- a/bin/style.js +++ b/bin/style.js @@ -648,7 +648,7 @@ module.exports = { "country_label": { "source": "outdoors", "layer": "country_label", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "font": "Open Sans Semibold, Arial Unicode MS Bold", "fontSize": 24, @@ -665,7 +665,7 @@ module.exports = { "layer": "marine_label", "feature_type": "line", "type": "text", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "curve", "font": "Open Sans Semibold Italic, Arial Unicode MS Bold", "fontSize": 16 @@ -675,7 +675,7 @@ module.exports = { "layer": "marine_label", "feature_type": "point", "type": "text", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "field": "labelrank", "value": 1, @@ -690,7 +690,7 @@ module.exports = { "layer": "marine_label", "feature_type": "point", "type": "text", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "field": "labelrank", "value": 2, @@ -705,7 +705,7 @@ module.exports = { "layer": "marine_label", "feature_type": "point", "type": "text", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "field": "labelrank", "value": [3,4,5,6], @@ -715,7 +715,7 @@ module.exports = { "state_label": { "source": "outdoors", "layer": "state_label", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "font": "Open Sans Regular, Arial Unicode MS Regular", "fontSize": 16, @@ -728,7 +728,7 @@ module.exports = { "layer": "place_label", "field": "type", "value": "city", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "font": "Open Sans Semibold, Arial Unicode MS Bold", "fontSize": 20, @@ -740,7 +740,7 @@ module.exports = { "layer": "place_label", "field": "type", "value": "town", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "font": "Open Sans Semibold, Arial Unicode MS Bold", "fontSize": 24, @@ -752,7 +752,7 @@ module.exports = { "layer": "place_label", "field": "type", "value": "village", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "font": "Open Sans Semibold, Arial Unicode MS Bold", "fontSize": 22, @@ -768,7 +768,7 @@ module.exports = { "suburb", "neighbourhood" ], - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "font": "Open Sans Semibold, Arial Unicode MS Bold", "fontSize": 18, @@ -781,7 +781,7 @@ module.exports = { "layer": "road_label", "field": "class", "value": ["motorway","main"], - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "curve", "padding": 2, "font": "Open Sans Regular, Arial Unicode MS Regular", @@ -795,7 +795,7 @@ module.exports = { "layer": "road_label", "field": "class", "value": ["street","street_limited"], - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "curve", "padding": 2, "font": "Open Sans Regular, Arial Unicode MS Regular", @@ -809,7 +809,7 @@ module.exports = { "layer": "road_label", "field": "class", "value": ["service","driveway","path"], - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "curve", "padding": 2, "font": "Open Sans Regular, Arial Unicode MS Regular", @@ -821,7 +821,7 @@ module.exports = { "water_label": { "source": "outdoors", "layer": "water_label", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "font": "Open Sans Semibold Italic, Arial Unicode MS Bold", "fontSize": 12, @@ -831,7 +831,7 @@ module.exports = { "waterway_label": { "source": "outdoors", "layer": "waterway_label", - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "curve", "font": "Open Sans Semibold Italic, Arial Unicode MS Bold", "fontSize": 12, @@ -883,7 +883,7 @@ module.exports = { 1, 2 ], - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "padding": 2, "maxWidth": 8, @@ -899,7 +899,7 @@ module.exports = { "layer": "poi_label", "field": "scalerank", "value": 3, - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "padding": 2, "maxWidth": 8, @@ -915,7 +915,7 @@ module.exports = { "layer": "poi_label", "field": "scalerank", "value": 4, - "text_field": "{{name}}", + "text_field": "{{name_en}}", "path": "horizontal", "padding": 2, "maxWidth": 8,