1.增加护栏渲染2.增加路牙渲染

This commit is contained in:
qiji4215 2023-08-17 09:32:58 +08:00
parent 0f8f36ea8c
commit 27d21f341f
4 changed files with 7 additions and 24 deletions

View File

@ -491,13 +491,13 @@ class MainViewModel @Inject constructor(
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
//val linkList = realmOperateHelper.queryLink(point = point)
val linkList = realmOperateHelper.queryLink(point = point)
val linkList = realmOperateHelper.queryLine(
/*val linkList = realmOperateHelper.queryLine(
point = point,
buffer = 2.5,
table = "OMDB_LANE_MARK_BOUNDARYTYPE"
)
)*/
var hisRoadName = false

View File

@ -2064,20 +2064,15 @@
</m>
</m>
<m k="boundaryType" v="3">
<symbol repeat-gap="6" repeat="true" repeat-start="0" src="assets:omdb/icon_2013_3.svg" symbol-width="12" symbol-height="12"></symbol>
<line stroke="#ffffff" use="boundaryType" />
<symbol repeat="true" repeat-gap="6" repeat-start="0" src="assets:omdb/icon_2013_3.svg" symbol-width="12" symbol-height="12"></symbol>
</m>
<m k="boundaryType" v="4">
<line stroke="#ffffff" use="boundaryType" />
<symbol repeat="true" repeat-gap="6" repeat-start="0" src="assets:omdb/icon_2013_41.svg" symbol-width="12" symbol-height="12"></symbol>
<symbol repeat-gap="16" repeat="true" repeat-start="0" src="assets:omdb/icon_2013_4.svg" symbol-width="32" symbol-height="56"></symbol>
</m>
<m k="boundaryType" v="5|7">
<line stroke="#ffffff" use="boundaryType" />
</m>
<!-- <m k="boundaryType" v="0|3|4|5|6|7|8|9">
<line stroke="#ffffff" use="boundaryType" />
</m>-->
</m>
<!-- 道路属性 -->

View File

@ -1,13 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24.087" height="24.193" viewBox="0 0 24.087 24.193">
<defs>
<style>
.a{fill:#9b9b9b;opacity:0;}.b{fill:#fff;}.c{fill:none;stroke:#707070;stroke-width:1.5px;}
</style>
</defs>
<g transform="translate(-1528 -27)">
<path class="a" d="M0,0H24V24H0Z" transform="translate(1528 27)" />
<rect class="b" width="24" height="12" transform="translate(1528 39)" />
<path class="c" d="M-7051-19375.6h11.066l12.529,10.883"
transform="translate(8579 19415.346)" />
</g>
</svg>
<?xml version="1.0" encoding="UTF-8"?><svg id="b" xmlns="http://www.w3.org/2000/svg" width="49.7" height="24" viewBox="0 0 49.7 24"><defs><style>.f{fill:rgba(155,155,155,0);}.g{fill:none;}.h{fill:#050505;}.i{fill:#fff;}</style></defs><g id="c"><g><path id="d" class="f" d="M0,0H49.7V24H0V0Z"/><polygon class="g" points="0 0 0 12 0 12 0 24 49.7 24 49.7 12 49.7 12 49.7 0 0 0"/><g><rect id="e" class="i" x="0" y="11.6" width="49.7" height="12.4"/><polygon class="h" points="8.3 11.6 3.8 11.6 11.1 24 14.4 22.1 8.3 11.6 8.3 11.6"/><polygon class="h" points="24.8 11.6 20.4 11.6 27.6 24 31 22.1 24.8 11.6 24.8 11.6"/><polygon class="h" points="41.4 11.6 36.9 11.6 44.2 24 47.5 22.1 41.4 11.6 41.4 11.6"/></g><polygon class="i" points="49.7 11 0 11 0 12.2 49.7 12.2 49.7 11 49.7 11"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 793 B

View File

@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1692173660949" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15563" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><path d="M902.4 173.76h-52.16a24.64 24.64 0 0 0-25.92 25.92v78.08H199.68V199.68a24.64 24.64 0 0 0-25.92-25.92H121.6a24.64 24.64 0 0 0-25.6 25.92v624.64a24.64 24.64 0 0 0 25.92 25.92h51.84a24.64 24.64 0 0 0 25.92-25.92v-76.16h624.64v76.48a24.64 24.64 0 0 0 25.92 25.92h52.16a24.64 24.64 0 0 0 25.92-25.92V199.68a24.64 24.64 0 0 0-25.92-25.92zM240 672H224a24 24 0 0 1-24-24v-272A24 24 0 0 1 224 352h16a24 24 0 0 1 24 24v272a24 24 0 0 1-24 24z m142.08 0h-16a24 24 0 0 1-24-24v-272a24 24 0 0 1 24-24h16a24 24 0 0 1 24 24v272a24 24 0 0 1-24 24z m142.08 0h-16a24 24 0 0 1-24-24v-272a24 24 0 0 1 24-24h16a24 24 0 0 1 24 24v272a24 24 0 0 1-24 24z m142.08 0h-16a24 24 0 0 1-24-24v-272a24 24 0 0 1 24-24h16a24 24 0 0 1 24 24v272a24 24 0 0 1-24.32 24z m142.08 0h-16a24 24 0 0 1-24-24v-272a24 24 0 0 1 24-24h16a24 24 0 0 1 24 24v272a24 24 0 0 1-24.32 24z" fill="#fceaa0" p-id="15564"></path></svg>
<?xml version="1.0" encoding="UTF-8"?><svg id="b" xmlns="http://www.w3.org/2000/svg" width="107.5" height="105.4" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 107.5 105.4"><defs><style>.p{fill:url(#j);}.q{fill:url(#g);}.r{fill:url(#m);}.s{fill:url(#h);}.t{fill:url(#i);}.u{fill:url(#o);}.v{fill:url(#k);}.w{fill:url(#n);}.x{fill:url(#l);}.y{fill:url(#f);}.z{fill:url(#d);}.aa{fill:url(#e);}.ab{fill:none;}</style><linearGradient id="d" x1="48.3" y1="64.9" x2="49.7" y2="64.9" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#231815"/><stop offset="0" stop-color="#372d2a"/><stop offset="0" stop-color="#655d5b"/><stop offset=".1" stop-color="#8e8987"/><stop offset=".2" stop-color="#b1adac"/><stop offset=".2" stop-color="#cdcbca"/><stop offset=".3" stop-color="#e3e2e1"/><stop offset=".3" stop-color="#f2f2f2"/><stop offset=".4" stop-color="#fcfbfb"/><stop offset=".5" stop-color="#fff"/><stop offset=".7" stop-color="#fcfcfc"/><stop offset=".7" stop-color="#f5f5f5"/><stop offset=".8" stop-color="#e9e8e8"/><stop offset=".8" stop-color="#d8d6d6"/><stop offset=".9" stop-color="#c2bfbe"/><stop offset=".9" stop-color="#a6a2a1"/><stop offset=".9" stop-color="#85807e"/><stop offset="1" stop-color="#605957"/><stop offset="1" stop-color="#3a312f"/><stop offset="1" stop-color="#453d3b"/><stop offset="1" stop-color="#65605f"/><stop offset="1" stop-color="#7f7c7b"/><stop offset="1" stop-color="#91908f"/><stop offset="1" stop-color="#9c9c9b"/><stop offset="1" stop-color="#a0a0a0"/></linearGradient><linearGradient id="e" x1="38.4" x2="39.8" xlink:href="#d"/><linearGradient id="f" x1="68.2" x2="69.6" xlink:href="#d"/><linearGradient id="g" x1="58.3" x2="59.6" xlink:href="#d"/><linearGradient id="h" x1="101.9" y1="64.9" x2="103.3" y2="64.9" xlink:href="#d"/><linearGradient id="i" x1="92" y1="64.9" x2="93.3" y2="64.9" xlink:href="#d"/><linearGradient id="j" x1="14.4" y1="64.9" x2="15.8" y2="64.9" xlink:href="#d"/><linearGradient id="k" x1="4.5" y1="64.9" x2="5.8" y2="64.9" xlink:href="#d"/><linearGradient id="l" x1="344.8" y1="-9.2" x2="346.1" y2="-9.2" gradientTransform="translate(-291.7 66.7)" xlink:href="#d"/><linearGradient id="m" x1="330.1" y1="-9.2" x2="331.4" y2="-9.2" gradientTransform="translate(-277 81.4)" xlink:href="#d"/><linearGradient id="n" x1="395.3" y1="258.8" x2="400.1" y2="258.8" gradientTransform="translate(-370.6 -193.9)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#989898"/><stop offset="0" stop-color="#a3a3a3"/><stop offset=".1" stop-color="#c4c5c5"/><stop offset=".2" stop-color="#d8d9d9"/><stop offset=".3" stop-color="#e0e1e1"/><stop offset=".4" stop-color="#dbdcdc"/><stop offset=".5" stop-color="#cccece"/><stop offset=".6" stop-color="#b5b6b7"/><stop offset=".7" stop-color="#949697"/><stop offset=".8" stop-color="#6a6c6f"/><stop offset=".8" stop-color="#3f4246"/><stop offset="1" stop-color="#404247"/><stop offset="1" stop-color="#43434a"/></linearGradient><linearGradient id="o" x1="78.5" y1="64.9" x2="83.3" y2="64.9" gradientTransform="matrix(1, 0, 0, 1, 0, 0)" xlink:href="#n"/></defs><g id="c"><g><rect class="ab" width="107.5" height="105.4"/><g><g><path class="z" d="M48.6,57.4h.9c.1,0,.2,.1,.2,.2v14.6c0,0,0,.1-.1,.1h-1.2s0,0,0,0v-14.7c0-.1,.1-.2,.2-.2Z"/><path class="aa" d="M38.6,57.4h.9c.1,0,.2,.1,.2,.2v14.6c0,0,0,.1-.1,.1h-1.2s0,0,0,0v-14.7c0-.1,.1-.2,.2-.2Z"/><path class="y" d="M68.4,57.4h.9c.1,0,.2,.1,.2,.2v14.6c0,0,0,.1-.1,.1h-1.2s0,0,0,0v-14.7c0-.1,.1-.2,.2-.2Z"/><path class="q" d="M58.5,57.4h.9c.1,0,.2,.1,.2,.2v14.6c0,0,0,.1-.1,.1h-1.2s0,0,0,0v-14.7c0-.1,.1-.2,.2-.2Z"/><path class="s" d="M102.1,57.4h.9c.1,0,.2,.1,.2,.2v14.6c0,0,0,.1-.1,.1h-1.2s0,0,0,0v-14.7c0-.1,.1-.2,.2-.2Z"/><path class="t" d="M92.2,57.4h.9c.1,0,.2,.1,.2,.2v14.6c0,0,0,.1-.1,.1h-1.2s0,0,0,0v-14.7c0-.1,.1-.2,.2-.2Z"/><path class="p" d="M14.6,57.4h.9c.1,0,.2,.1,.2,.2v14.6c0,0,0,.1-.1,.1h-1.2s0,0,0,0v-14.7c0-.1,.1-.2,.2-.2Z"/><path class="v" d="M4.7,57.4h.9c.1,0,.2,.1,.2,.2v14.6c0,0,0,.1-.1,.1h-1.2s0,0,0,0v-14.7c0-.1,.1-.2,.2-.2Z"/><path class="x" d="M53.3,3.8h.9c.1,0,.2,.1,.2,.2V111.2c0,0,0,.1-.1,.1h-1.1s0,0,0,0V4c0-.1,.1-.2,.2-.2Z" transform="translate(-3.8 111.3) rotate(-90)"/><path class="r" d="M53.3,18.5h.9c.1,0,.2,.1,.2,.2V125.9c0,0,0,.1-.1,.1h-1.1s0,0,0,0V18.7c0-.1,.1-.2,.2-.2Z" transform="translate(-18.5 126) rotate(-90)"/></g><path class="w" d="M25.4,52.7h3.1c.6,0,1.1,.5,1.1,1.1v22.3c0,.5-.4,1-1,1h-3.4c-.5,0-.9-.4-.9-.9v-22.3c0-.6,.5-1.1,1.1-1.1Z" transform="translate(54 129.8) rotate(180)"/><path class="u" d="M79.2,52.7h3.1c.6,0,1.1,.5,1.1,1.1v22.3c0,.5-.4,1-1,1h-3.4c-.5,0-.9-.4-.9-.9v-22.3c0-.6,.5-1.1,1.1-1.1Z"/></g></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB