Add one way arrow for oneway=-1
This commit is contained in:
parent
62071b10a4
commit
7cd42dac93
10
style.json
10
style.json
@ -900,9 +900,19 @@
|
|||||||
"source-layer": "transportation",
|
"source-layer": "transportation",
|
||||||
"minzoom": 15,
|
"minzoom": 15,
|
||||||
"filter": ["==", "oneway", 1],
|
"filter": ["==", "oneway", 1],
|
||||||
|
"layout": {"icon-image": "arrow", "symbol-placement": "line"}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "road_one_way_arrow_opposite",
|
||||||
|
"type": "symbol",
|
||||||
|
"source": "openmaptiles",
|
||||||
|
"source-layer": "transportation",
|
||||||
|
"minzoom": 15,
|
||||||
|
"filter": ["==", "oneway", -1],
|
||||||
"layout": {
|
"layout": {
|
||||||
"icon-image": "arrow",
|
"icon-image": "arrow",
|
||||||
"symbol-placement": "line",
|
"symbol-placement": "line",
|
||||||
|
"icon-rotate": 180
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user