Add US state highway svg icons from wikipedia
This commit is contained in:
parent
26e932d4dd
commit
374e1235c8
@ -32,12 +32,15 @@ U.S. Interstate shields come from [Wikipedia][wikipedia_us_interstate] and are i
|
||||
|
||||
U.S. Highway shields come from [Wikipedia][wikipedia_us_highway] and are in the public domain.
|
||||
|
||||
U.S. State Highway shields come from [Wikipedia][wikipedia_us_state] and are in the public domain.
|
||||
|
||||
Canada Transcanada shields come from [Wikipedia][wikipedia_ca_transcanada] and are in the public domain.
|
||||
|
||||
GB motorway shields come from [Wikipedia][wikipedia_gb_motorway] and are in the public domain.
|
||||
|
||||
[wikipedia_us_interstate]: https://commons.m.wikimedia.org/wiki/Category:Interstate_Highway_shield_blanks
|
||||
[wikipedia_us_highway]: https://commons.m.wikimedia.org/wiki/Category:US_Highway_shield_blanks
|
||||
[wikipedia_us_state]: https://commons.wikimedia.org/wiki/Category:Circle_shield_blanks
|
||||
[wikipedia_ca_transcanada]: https://commons.wikimedia.org/wiki/File:TCH_blank.svg
|
||||
[wikipedia_gb_motorway]: https://commons.wikimedia.org/wiki/File:Road_marker_UK_A2.svg
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 96 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 231 KiB |
34
style.json
34
style.json
@ -1578,6 +1578,31 @@
|
||||
},
|
||||
"paint": {"text-color": "#000"}
|
||||
},
|
||||
{
|
||||
"id": "road_shield_gb-motorway-3",
|
||||
"type": "symbol",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "transportation_name",
|
||||
"minzoom": 7,
|
||||
"filter": [
|
||||
"all",
|
||||
["<=", "ref_length", 3],
|
||||
["in", "network", "gb-motorway"]
|
||||
],
|
||||
"layout": {
|
||||
"icon-image": "{network}_3",
|
||||
"icon-rotation-alignment": "viewport",
|
||||
"symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]},
|
||||
"symbol-spacing": 500,
|
||||
"text-field": "{ref}",
|
||||
"text-font": ["Roboto Regular"],
|
||||
"text-offset": [0, 0.2],
|
||||
"text-rotation-alignment": "viewport",
|
||||
"text-size": 10,
|
||||
"icon-size": 0.8
|
||||
},
|
||||
"paint": {"text-color": "#fff"}
|
||||
},
|
||||
{
|
||||
"id": "road_shield",
|
||||
"type": "symbol",
|
||||
@ -1587,7 +1612,14 @@
|
||||
"filter": [
|
||||
"all",
|
||||
["<=", "ref_length", 6],
|
||||
["!in", "network", "us-interstate", "us-highway", "ca-transcanada"]
|
||||
[
|
||||
"!in",
|
||||
"network",
|
||||
"us-interstate",
|
||||
"us-highway",
|
||||
"ca-transcanada",
|
||||
"gb-motorway"
|
||||
]
|
||||
],
|
||||
"layout": {
|
||||
"icon-image": "default_{ref_length}",
|
||||
|
19
svgs/svgs_not_in_iconset/us-state_2.svg
Normal file
19
svgs/svgs_not_in_iconset/us-state_2.svg
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
version="1.1"
|
||||
width="600"
|
||||
height="600">
|
||||
<rect
|
||||
width="600"
|
||||
height="600"
|
||||
rx="37.5"
|
||||
ry="37.5"
|
||||
style="fill:#000;fill-opacity:1;stroke:none"/>
|
||||
<circle
|
||||
r="287.5"
|
||||
cx="300"
|
||||
cy="300"
|
||||
style="fill:#fff;fill-opacity:1;stroke:none"/>
|
||||
</svg>
|
After Width: | Height: | Size: 419 B |
20
svgs/svgs_not_in_iconset/us-state_3.svg
Normal file
20
svgs/svgs_not_in_iconset/us-state_3.svg
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
version="1.1"
|
||||
width="750"
|
||||
height="600">
|
||||
<rect
|
||||
width="750"
|
||||
height="600"
|
||||
rx="37.5"
|
||||
ry="37.5"
|
||||
style="fill:#000;fill-opacity:1;stroke:none"/>
|
||||
<ellipse
|
||||
rx="362.5"
|
||||
ry="287.5"
|
||||
cx="375"
|
||||
cy="300"
|
||||
style="fill:#fff;fill-opacity:1;stroke:none"/>
|
||||
</svg>
|
After Width: | Height: | Size: 433 B |
Loading…
x
Reference in New Issue
Block a user