From ee823bd62c8a1435c4a375cc23201c4d1ee6df6e Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Tue, 10 Jan 2017 17:54:51 +0100 Subject: [PATCH] Add continent label --- style.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/style.json b/style.json index 29d9ede..a622b25 100644 --- a/style.json +++ b/style.json @@ -3835,6 +3835,36 @@ "text-halo-color": "rgba(255,255,255,0.8)", "text-halo-width": 1 } + }, + { + "id": "continent", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 1, + "layout": { + "text-field": "{name_en}", + "text-font": [ + "Roboto Condensed Italic" + ], + "text-size": 13, + "text-transform": "uppercase", + "text-justify": "center" + }, + "paint": { + "text-color": "#633", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 1 + }, + "filter": [ + "all", + [ + "==", + "class", + "continent" + ] + ] } ] } \ No newline at end of file