Skip to content

Commit

Permalink
Show latin labels for countries and continents
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 15, 2017
1 parent 4141151 commit 9724de8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 43 deletions.
33 changes: 0 additions & 33 deletions decorate-layers.js

This file was deleted.

22 changes: 12 additions & 10 deletions style.json
Original file line number Diff line number Diff line change
Expand Up @@ -3745,7 +3745,7 @@
"Noto Sans Italic"
],
"text-size": 14,
"text-field": "{name:latin}\n{name:nonlatin}",
"text-field": "{name:latin}",
"text-max-width": 5,
"text-rotation-alignment": "map",
"symbol-placement": "point",
Expand Down Expand Up @@ -4337,7 +4337,9 @@
"class",
"city",
"town",
"village"
"village",
"country",
"continent"
],
"layout": {
"text-letter-spacing": 0.1,
Expand All @@ -4360,7 +4362,7 @@
"text-field": "{name:latin}\n{name:nonlatin}",
"text-transform": "uppercase",
"text-max-width": 9,
"visibility": "visible"
"visibility": "none"
},
"paint": {
"text-color": "#633",
Expand Down Expand Up @@ -4400,7 +4402,7 @@
},
"text-field": "{name:latin}\n{name:nonlatin}",
"text-max-width": 8,
"visibility": "visible"
"visibility": "none"
},
"paint": {
"text-color": "#333",
Expand Down Expand Up @@ -4440,7 +4442,7 @@
},
"text-field": "{name:latin}\n{name:nonlatin}",
"text-max-width": 8,
"visibility": "visible"
"visibility": "none"
},
"paint": {
"text-color": "#333",
Expand Down Expand Up @@ -4580,7 +4582,7 @@
"text-font": [
"Noto Sans Italic"
],
"text-field": "{name:latin}\n{name:nonlatin}",
"text-field": "{name:latin}",
"text-size": {
"stops": [
[
Expand Down Expand Up @@ -4633,7 +4635,7 @@
"text-font": [
"Noto Sans Bold"
],
"text-field": "{name:latin}\n{name:nonlatin}",
"text-field": "{name:latin}",
"text-size": {
"stops": [
[
Expand Down Expand Up @@ -4686,7 +4688,7 @@
"text-font": [
"Noto Sans Bold"
],
"text-field": "{name:latin}\n{name:nonlatin}",
"text-field": "{name:latin}",
"text-size": {
"stops": [
[
Expand Down Expand Up @@ -4739,7 +4741,7 @@
"text-font": [
"Noto Sans Bold"
],
"text-field": "{name:latin}\n{name:nonlatin}",
"text-field": "{name:latin}",
"text-size": {
"stops": [
[
Expand Down Expand Up @@ -4781,7 +4783,7 @@
"text-font": [
"Noto Sans Bold"
],
"text-field": "{name:latin}\n{name:nonlatin}",
"text-field": "{name:latin}",
"text-size": 14,
"text-max-width": 6.25,
"text-transform": "uppercase",
Expand Down

0 comments on commit 9724de8

Please sign in to comment.