kopia lustrzana https://github.com/openmaptiles/openmaptiles
Fixes in style (#1730)
* Fix text-field expressions in POI - Removed text-field expressions from transport, place of worship and accommodation. - The language switcher wasn't able to parse them and they are not neccessary in the style. - Added `"text-optional": true` to Accommodation - if both icon and text can't fit, only icon will be displayed, which simulates a bit the previous behaviour. * Fix filter in City layer Fixed filter, Istanbul was missing.pull/1732/head
rodzic
f446b50d0c
commit
d409816eee
|
@ -384,9 +384,10 @@
|
||||||
"city"
|
"city"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"!=",
|
"!in",
|
||||||
"rank",
|
"capital",
|
||||||
1
|
1,
|
||||||
|
2
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"order": 244
|
"order": 244
|
||||||
|
|
|
@ -959,18 +959,17 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"text-anchor": "top",
|
"text-anchor": "top",
|
||||||
"text-field": {
|
"text-field": [
|
||||||
"stops": [
|
"coalesce",
|
||||||
[
|
[
|
||||||
15,
|
"get",
|
||||||
""
|
"name:en"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
16,
|
"get",
|
||||||
"{name}"
|
"name"
|
||||||
]
|
]
|
||||||
]
|
],
|
||||||
},
|
|
||||||
"text-font": [
|
"text-font": [
|
||||||
"Open Sans Semibold",
|
"Open Sans Semibold",
|
||||||
"Noto Sans Bold"
|
"Noto Sans Bold"
|
||||||
|
@ -1298,18 +1297,17 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"text-anchor": "top",
|
"text-anchor": "top",
|
||||||
"text-field": {
|
"text-field": [
|
||||||
"stops": [
|
"coalesce",
|
||||||
[
|
[
|
||||||
17,
|
"get",
|
||||||
""
|
"name:en"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
18,
|
"get",
|
||||||
"{name}"
|
"name"
|
||||||
]
|
]
|
||||||
]
|
],
|
||||||
},
|
|
||||||
"text-font": [
|
"text-font": [
|
||||||
"Open Sans Semibold",
|
"Open Sans Semibold",
|
||||||
"Noto Sans Bold"
|
"Noto Sans Bold"
|
||||||
|
@ -1319,6 +1317,7 @@
|
||||||
0,
|
0,
|
||||||
0.6
|
0.6
|
||||||
],
|
],
|
||||||
|
"text-optional": true,
|
||||||
"text-padding": 2,
|
"text-padding": 2,
|
||||||
"text-size": {
|
"text-size": {
|
||||||
"stops": [
|
"stops": [
|
||||||
|
@ -1374,18 +1373,17 @@
|
||||||
],
|
],
|
||||||
"text-allow-overlap": false,
|
"text-allow-overlap": false,
|
||||||
"text-anchor": "top",
|
"text-anchor": "top",
|
||||||
"text-field": {
|
"text-field": [
|
||||||
"stops": [
|
"coalesce",
|
||||||
[
|
[
|
||||||
15,
|
"get",
|
||||||
""
|
"name:en"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
16,
|
"get",
|
||||||
"{name}"
|
"name"
|
||||||
]
|
]
|
||||||
]
|
],
|
||||||
},
|
|
||||||
"text-font": [
|
"text-font": [
|
||||||
"Open Sans Semibold",
|
"Open Sans Semibold",
|
||||||
"Noto Sans Bold"
|
"Noto Sans Bold"
|
||||||
|
|
Ładowanie…
Reference in New Issue