forked from MapComplete/MapComplete
Add fancy direction picker
This commit is contained in:
parent
67bd817a38
commit
7ef2f429f2
11 changed files with 386 additions and 53 deletions
199
assets/svg/compass.svg
Normal file
199
assets/svg/compass.svg
Normal file
|
@ -0,0 +1,199 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="svg8"
|
||||
version="1.1"
|
||||
viewBox="0 0 100 100"
|
||||
height="100"
|
||||
width="100"
|
||||
sodipodi:docname="compass.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1001"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:zoom="4.72"
|
||||
inkscape:cx="59.602211"
|
||||
inkscape:cy="33.556025"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg8" />
|
||||
<metadata
|
||||
id="metadata8">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:27.00369644px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#f00000;fill-opacity:1;stroke:none;stroke-width:1;"
|
||||
x="39.290302"
|
||||
y="25.678265"
|
||||
id="text818"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan816"
|
||||
x="39.290302"
|
||||
y="25.678265"
|
||||
style="stroke-width:1;fill:#f00000;fill-opacity:1;">N</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:26.37678909px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;"
|
||||
x="41.584614"
|
||||
y="90.136795"
|
||||
id="text822"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan820"
|
||||
x="41.584614"
|
||||
y="90.136795"
|
||||
style="stroke-width:1;fill:#ffffff;fill-opacity:1;">S</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="41.584614"
|
||||
y="123.10778"
|
||||
id="tspan824"
|
||||
style="stroke-width:1;fill:#ffffff;fill-opacity:1;" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:26.37678909px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;"
|
||||
x="75.969528"
|
||||
y="59.416515"
|
||||
id="text822-3"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan820-6"
|
||||
x="75.969528"
|
||||
y="59.416515"
|
||||
style="stroke-width:1;fill:#ffffff;fill-opacity:1;">E</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="75.969528"
|
||||
y="92.387505"
|
||||
id="tspan824-7"
|
||||
style="stroke-width:1;fill:#ffffff;fill-opacity:1;" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:23.66192627px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;"
|
||||
x="9.1795397"
|
||||
y="54.821461"
|
||||
id="text822-5"
|
||||
transform="scale(0.8970738,1.1147355)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan820-3"
|
||||
x="9.1795397"
|
||||
y="54.821461"
|
||||
style="stroke-width:1;fill:#ffffff;fill-opacity:1;">W</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="9.1795397"
|
||||
y="84.398872"
|
||||
id="tspan824-5"
|
||||
style="stroke-width:1;fill:#ffffff;fill-opacity:1;" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:9.30213261px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;"
|
||||
x="18.772408"
|
||||
y="9.4910574"
|
||||
id="text822-5-3"
|
||||
transform="scale(0.89707379,1.1147355)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan820-3-6"
|
||||
x="18.772408"
|
||||
y="17.954838"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;"></tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="18.772408"
|
||||
y="29.582502"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;"
|
||||
id="tspan846">NW</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="18.772408"
|
||||
y="41.210167"
|
||||
id="tspan824-5-7"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:9.30213261px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;"
|
||||
x="20.798214"
|
||||
y="50.509953"
|
||||
id="text822-5-3-5"
|
||||
transform="scale(0.89707379,1.1147355)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan820-3-6-3"
|
||||
x="20.798214"
|
||||
y="58.973732"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;" /><tspan
|
||||
sodipodi:role="line"
|
||||
x="20.798214"
|
||||
y="70.601395"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;"
|
||||
id="tspan846-5">SW</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="20.798214"
|
||||
y="82.229057"
|
||||
id="tspan824-5-7-6"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:9.30213261px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;"
|
||||
x="74.850243"
|
||||
y="9.8078442"
|
||||
id="text822-5-3-2"
|
||||
transform="scale(0.89707379,1.1147355)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan820-3-6-9"
|
||||
x="74.850243"
|
||||
y="18.271624"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;" /><tspan
|
||||
sodipodi:role="line"
|
||||
x="74.850243"
|
||||
y="29.899288"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;"
|
||||
id="tspan846-1">NE</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="74.850243"
|
||||
y="41.526955"
|
||||
id="tspan824-5-7-2"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:9.30213261px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;"
|
||||
x="76.876053"
|
||||
y="50.826736"
|
||||
id="text822-5-3-5-7"
|
||||
transform="scale(0.89707379,1.1147355)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan820-3-6-3-0"
|
||||
x="76.876053"
|
||||
y="59.290516"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;" /><tspan
|
||||
sodipodi:role="line"
|
||||
x="76.876053"
|
||||
y="70.918182"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;"
|
||||
id="tspan846-5-9">SE</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="76.876053"
|
||||
y="82.545845"
|
||||
id="tspan824-5-7-6-3"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke-width:1;" /></text>
|
||||
</svg>
|
After Width: | Height: | Size: 7.1 KiB |
31
assets/svg/direction.svg
Normal file
31
assets/svg/direction.svg
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
id="svg8"
|
||||
version="1.1"
|
||||
viewBox="0 0 100 100"
|
||||
height="100"
|
||||
width="100">
|
||||
<metadata
|
||||
id="metadata8">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<path
|
||||
id="path821"
|
||||
d="M 49.787737,49.857275 20.830626,9.2566092 C 35.979158,-2.144159 60.514289,-3.8195259 78.598237,9.0063685 Z"
|
||||
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</svg>
|
After Width: | Height: | Size: 1,017 B |
Loading…
Add table
Add a link
Reference in a new issue