Add one way arrow to style
This commit is contained in:
parent
37a7812770
commit
3e2961062f
16
style.json
16
style.json
@ -19,7 +19,7 @@
|
||||
"type": "raster"
|
||||
}
|
||||
},
|
||||
"sprite": "https://maputnik.github.io/osm-liberty/sprites/osm-liberty",
|
||||
"sprite": "https://raw.githubusercontent.com/kylebarron/osm-liberty/one-way/sprites/osm-liberty",
|
||||
"glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key={key}",
|
||||
"layers": [
|
||||
{
|
||||
@ -893,6 +893,20 @@
|
||||
"line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road_one_way_arrow",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation",
|
||||
"minzoom": 15,
|
||||
"filter": ["all", ["in", "oneway", 1]],
|
||||
"layout": {
|
||||
"icon-image": "arrow",
|
||||
"symbol-placement": "line",
|
||||
"symbol-spacing": 250,
|
||||
"icon-size": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "bridge_motorway_link_casing",
|
||||
"type": "line",
|
||||
|
Loading…
x
Reference in New Issue
Block a user