72 lines
2.7 KiB
XML
72 lines
2.7 KiB
XML
<?xml version="1.0"?>
|
|
<svg width="80" height="80"
|
|
viewBox="0 0 80 80"
|
|
overflow="visible"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" style="stroke: rgb(255,255,255);">
|
|
<defs>
|
|
<style type="text/css">
|
|
<![CDATA[
|
|
@font-face { font-family: "WindSymbolFont";
|
|
src: url(WindSymbols.svg#WindSymbols); }
|
|
@font-face { font-family: "StandardFont";
|
|
src: url(Standard.svg#Standard); }
|
|
@font-face { font-family: "WxSymbolFont";
|
|
src: url(WxSymbols.svg#WxSymbols); }
|
|
@font-face { font-family: "SpecialSymbolFont";
|
|
src: url(SpecialSymbols.svg#SpecialSymbols); }
|
|
text.barb
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
font-size: 1em;
|
|
font-family: WindSymbolFont;
|
|
}
|
|
text.arrow
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
font-size: 1em;
|
|
font-family: WindSymbolFont;
|
|
}
|
|
text.text
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
stroke-width: 1px;
|
|
font-family: StandardFont;
|
|
font-size: 1em;
|
|
}
|
|
text.weather
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
stroke-width: 1px;
|
|
font-family: WxSymbolFont;
|
|
|
|
}
|
|
text.special
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
stroke-width: 1px;
|
|
font-size: 1em;
|
|
font-family: SpecialSymbolFont;
|
|
}
|
|
]]>
|
|
</style>
|
|
<symbol overflow="visible" id="plotData" class="info">
|
|
<text id="sample1" plotMode="sample" class="text" plotParam="tailNumber">0</text>
|
|
<text id="sample2" plotMode="sample" class="text" plotParam="timeObs" plotFormat="time:dd/HHmm">0</text>
|
|
<text id="altitudeText" plotMode="text" plotParam="flightLevel" plotFormat="%3.0f" plotUnit="hft" style="text-anchor: start;" x="10px" y="-10px">75</text>
|
|
<text id="tempText" plotMode="text" plotParam="temp" plotUnit="°C" plotFormat="%3.0f" style="text-anchor: end;" x="-10px" y="-10px">75</text>
|
|
<text id="dewPtText" plotMode="text" plotParam="dwpt" plotFormat="%3.0f" style="text-anchor: end;" x="-10px" y="10px">75</text>
|
|
<g id="windVaneText" plotMode="barb" required="true" plotParam="windSpeed,windDirection" plotUnit="kts" x="0" y="0" transform="rotate(0,0,0)">
|
|
<text id="windVaneText" class="arrow" x="0" y="0">0</text>
|
|
<text id="windArrowText" class="barb" x="0" y="0">arrow</text>
|
|
</g>
|
|
</symbol>
|
|
|
|
</defs>
|
|
<use id="wind" x="40" y="40" width="80" height="80" visibility="visible" xlink:href="#plotData"/>
|
|
</svg>
|