Merge pull request #81 from kylebarron/one-way

One way arrow on roads
pull/83/head
pathmapper 4 years ago committed by GitHub
commit eb04537a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,6 +28,10 @@ For printed and static maps a similar attribution should be made in a textual de
OSM Liberty is using the [Maki POI icon set](https://github.com/mapbox/maki/blob/master/LICENSE.txt) which is licensed under CC0 1.0 Universal. OSM Liberty is using the [Maki POI icon set](https://github.com/mapbox/maki/blob/master/LICENSE.txt) which is licensed under CC0 1.0 Universal.
The right arrow was derived from [Wikipedia][wiki_arrow] which is in the public domain.
[wiki_arrow]: https://commons.wikimedia.org/wiki/File:Arrowright.svg
## Fonts ## Fonts
OSM Liberty is using the Roboto font family (Copyright 2011 Google). OSM Liberty is using the Roboto font family (Copyright 2011 Google).

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 55 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 129 KiB

@ -893,6 +893,28 @@
"line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]} "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": ["==", "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": {
"icon-image": "arrow",
"symbol-placement": "line",
"icon-rotate": 180
}
},
{ {
"id": "bridge_motorway_link_casing", "id": "bridge_motorway_link_casing",
"type": "line", "type": "line",

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="7" viewBox="0 0 80 29">
<path d="m61,15H11v-1h49m0-2 9,2.5-9,2.5"/>
</svg>

After

Width:  |  Height:  |  Size: 176 B

Loading…
Cancel
Save