forked from MapComplete/MapComplete
Fix themes, fix tests
This commit is contained in:
parent
255347fc06
commit
edf7dba9e3
16 changed files with 350 additions and 297 deletions
|
@ -31,8 +31,7 @@
|
|||
"override": {
|
||||
"minzoom": 18,
|
||||
"passAllFeatures": true,
|
||||
"=pointRendering": [
|
||||
]
|
||||
"=pointRendering": null
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -86,9 +85,31 @@
|
|||
"zh_Hant": "顯示火車站的圖層",
|
||||
"pl": "Warstwa pokazująca stacje kolejowe"
|
||||
},
|
||||
"pointRendering": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/themes/stations/rail-light.svg"
|
||||
}
|
||||
],
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"label": {
|
||||
"mappings": [
|
||||
{
|
||||
"if": "name~*",
|
||||
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{}
|
||||
{
|
||||
"color": "green"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -408,7 +429,19 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"pointRendering": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/themes/stations/departures_board.svg"
|
||||
}
|
||||
],
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue