fix: 增加渲染样式

This commit is contained in:
2023-04-25 15:36:41 +08:00
parent d174c82cb6
commit 58c3ad62c3
7 changed files with 503 additions and 5 deletions

View File

@@ -1550,8 +1550,103 @@
</m>
</m>
<m k="QIcode">
<m k="qi_table">
<!-- 道路线 -->
<m v="2001"></m>
<m v="OMDB_RD_LINK">
<line stroke="#9c9c9c" width="1"/>
</m>
<!--道路方向-->
<m v="OMDB_RD_LINK_DIRECT">
<m k="direct">
<m v="2">
<lineSymbol src="assets:omdb/oneway_left.svg"></lineSymbol>
</m>
<m v="3">
<lineSymbol src="assets:omdb/oneway_right.svg"></lineSymbol>
</m>
</m>
</m>
<!--道路种别-->
<m v="OMDB_RD_LINK_KIND">
<m k="kind">
<m v="1">
<line stroke="#fcacd4" width="1"/>
</m>
<m v="2">
<line stroke="#dcacfc" width="1"/>
</m>
<m v="3">
<line stroke="#fc9c9c" width="1"/>
</m>
<m v="4">
<line stroke="#fcd484" width="1"/>
</m>
<m v="5">
<line stroke="#ecfccc" width="1"/>
</m>
<m v="6">
<line stroke="#acec84" width="1"/>
</m>
<m v="7">
<line stroke="#806048" width="1"/>
</m>
<m v="8">
<line stroke="#fcfc7c" width="1"/>
</m>
<m v="9">
<line stroke="#acc4fc" width="1"/>
</m>
<m v="10">
<line stroke="#8cc8e0" width="1"/>
</m>
<m v="11">
<line stroke="#64ecdc" width="1"/>
</m>
<m v="13">
<line stroke="#585080" width="1"/>
</m>
<m v="15">
<line stroke="#647430" width="1"/>
</m>
</m>
</m>
<!--常规点限速-->
<m v="OMDB_SPEEDLIMIT">
<m k="speedFlag">
<m v="0">
<circle fill="#0000ff" radius="30" scale-radius="true" />
<text k="maxSpeed" use="road"></text>
<text k="minSpeed" dy="30" bg-fill="#00ff00" use="road"></text>
</m>
<m v="1">
<!-- <circle fill="#0000ff" radius="30" scale-radius="true" />-->
<text k="maxSpeed" use="road"></text>
<text k="minSpeed" dy="30" bg-fill="#00ff00" use="road"></text>
</m>
</m>
</m>
<!--条件点限速-->
<m v="OMDB_SPEEDLIMIT_COND">
<m k="direct">
<m v="2">
<lineSymbol src="assets:omdb/oneway_left.svg"></lineSymbol>
</m>
<m v="3">
<lineSymbol src="assets:omdb/oneway_right.svg"></lineSymbol>
</m>
</m>
</m>
<!--可变点限速-->
<m v="OMDB_SPEEDLIMIT_VAR">
<m k="direct">
<m v="2">
<lineSymbol src="assets:omdb/oneway_left.svg"></lineSymbol>
</m>
<m v="3">
<lineSymbol src="assets:omdb/oneway_right.svg"></lineSymbol>
</m>
</m>
</m>
</m>
</rendertheme>

View File

@@ -0,0 +1,11 @@
<svg width="580" height="580" xmlns="http://www.w3.org/2000/svg" version="1.0">
<metadata id="metadata10"/>
<g>
<title>Layer 1</title>
<g transform="rotate(-179.925 290 290)" id="svg_1">
<path stroke="#ffffff" shape-rendering="auto" filter-blend-mode="normal" stroke-linejoin="round" fill="none" solid-opacity="1" color-interpolation="sRGB" isolation="auto" stroke-width="64" color-rendering="auto" image-rendering="auto" color="#000000" filter-gaussianBlur-deviation="0" color-interpolation-filters="linearRGB" opacity="0.8" solid-color="#000000" mix-blend-mode="normal" d="m30,261l286,0l0,-72.5l234,101.85l-234,101.15l0,-72.5l-286,0l0,-58z" id="path4151"/>
<path fill="#6a6a6a" id="path4136" d="m30,261l286,0l0,-72.5l234,101.85l-234,101.15l0,-72.5l-286,0l0,-58z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 799 B

View File

@@ -0,0 +1,11 @@
<svg width="580" height="580" xmlns="http://www.w3.org/2000/svg" version="1.0">
<metadata id="metadata10"/>
<g>
<title>Layer 1</title>
<g id="svg_1" transform="rotate(-0.400407 290 290)">
<path id="path4151" d="m30,261l286,0l0,-72.5l234,101.85l-234,101.15l0,-72.5l-286,0l0,-58z" mix-blend-mode="normal" solid-color="#000000" opacity="0.8" color-interpolation-filters="linearRGB" filter-gaussianBlur-deviation="0" color="#000000" image-rendering="auto" color-rendering="auto" stroke-width="64" isolation="auto" color-interpolation="sRGB" solid-opacity="1" fill="none" stroke-linejoin="round" filter-blend-mode="normal" shape-rendering="auto" stroke="#ffffff"/>
<path d="m30,261l286,0l0,-72.5l234,101.85l-234,101.15l0,-72.5l-286,0l0,-58z" id="path4136" fill="#6a6a6a"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 800 B