更换图标,修复部分问题

This commit is contained in:
qiji4215 2023-08-22 08:52:53 +08:00
parent 05bd11419d
commit 7abb32610a
14 changed files with 68 additions and 9 deletions

View File

@ -136,6 +136,13 @@
"zoomMin": 16, "zoomMin": 16,
"zoomMax": 20 "zoomMax": 20
}, },
"3016":{
"table": "OMDB_OBJECT_STOPLOCATION",
"code": 3016,
"name": "停止位置",
"zoomMin": 18,
"zoomMax": 20
},
"4001": { "4001": {
"table": "OMDB_INTERSECTION", "table": "OMDB_INTERSECTION",
"code": 4001, "code": 4001,

View File

@ -567,6 +567,7 @@ class ImportPreProcess {
val intersectionReference = ReferenceEntity() val intersectionReference = ReferenceEntity()
intersectionReference.renderEntityId = renderEntity.id intersectionReference.renderEntityId = renderEntity.id
intersectionReference.name = "${renderEntity.name}参考点" intersectionReference.name = "${renderEntity.name}参考点"
intersectionReference.code = renderEntity.code
intersectionReference.table = renderEntity.table intersectionReference.table = renderEntity.table
intersectionReference.zoomMin = renderEntity.zoomMin intersectionReference.zoomMin = renderEntity.zoomMin
intersectionReference.zoomMax = renderEntity.zoomMax intersectionReference.zoomMax = renderEntity.zoomMax

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/icon_hide_line" android:state_selected="true"></item> <item android:drawable="@drawable/icon_high_line" android:state_selected="true"></item>
<item android:drawable="@drawable/icon_high_line" /> <item android:drawable="@drawable/icon_hide_line" />
</selector> </selector>

View File

@ -82,14 +82,14 @@
android:id="@+id/main_activity_top_sign_recyclerview" android:id="@+id/main_activity_top_sign_recyclerview"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="220dp" android:layout_marginLeft="300dp"
android:layout_marginTop="2dp" android:layout_marginTop="2dp"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<FrameLayout <FrameLayout
android:id="@+id/main_activity_sign_more_info_fragment" android:id="@+id/main_activity_sign_more_info_fragment"
android:layout_width="240dp" android:layout_width="220dp"
android:layout_height="300dp" android:layout_height="300dp"
android:layout_marginTop="80dp" android:layout_marginTop="80dp"
android:minHeight="140dp" android:minHeight="140dp"
@ -235,6 +235,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/shape_road_name_bg" android:background="@drawable/shape_road_name_bg"
android:onClick="@{()->mainActivity.openRoadNameFragment()}" android:onClick="@{()->mainActivity.openRoadNameFragment()}"
android:layout_marginLeft="10dp"
android:paddingLeft="10dp" android:paddingLeft="10dp"
android:paddingTop="4dp" android:paddingTop="4dp"
android:paddingRight="10dp" android:paddingRight="10dp"

View File

@ -1968,9 +1968,9 @@
<m k="type" v="node"> <m k="type" v="node">
<symbol src="assets:symbols/dot_blue_dark.svg"></symbol> <symbol src="assets:symbols/dot_blue_dark.svg"></symbol>
</m> </m>
<m k="intersectionPid"> <!-- <m k="intersectionPid">
<symbol src="assets:symbols/dot_magenta.svg"></symbol> <symbol src="assets:symbols/dot_magenta.svg"></symbol>
</m> </m>-->
<!-- <m k="geometry"> <!-- <m k="geometry">
<symbol src="@typesrc"></symbol> <symbol src="@typesrc"></symbol>
</m>--> </m>-->
@ -2188,6 +2188,45 @@
<symbol repeat="true" repeat-start="0" repeat-gap="32" src="assets:omdb/icon_2204_0.svg"></symbol> <symbol repeat="true" repeat-start="0" repeat-gap="32" src="assets:omdb/icon_2204_0.svg"></symbol>
</m> </m>
<!-- 停止位置 -->
<m v="OMDB_OBJECT_STOPLOCATION">
<m k="locationType" v="1">
<m k="color" v="1">
<line stroke="#ffffff" use="boundaryType" width="0.1"/>
</m>
<m k="color" v="9">
<line stroke="#eccc68" use="boundaryType" width="0.1"/>
</m>
</m>
<m k="locationType" v="2">
<m k="color" v="1">
<symbol repeat="true" repeat-gap="1" repeat-start="2" src="assets:omdb/icon_3016_0.svg" symbol-width="5" symbol-height="24"></symbol>
</m>
<m k="color" v="9">
<symbol repeat="true" repeat-gap="1" repeat-start="2" src="assets:omdb/icon_3016_1.svg" symbol-width="5" symbol-height="24"></symbol>
</m>
</m>
<!--虚线不做渲染-->
<!-- <m k="locationType" v="3">
<m k="color" v="1">
<symbol repeat="true" repeat-gap="4" repeat-start="0" src="assets:omdb/icon_2013_3.svg" symbol-width="10" symbol-height="4"></symbol>
</m>
<m k="color" v="9">
<symbol repeat="true" repeat-gap="4" repeat-start="0" src="assets:omdb/icon_2013_3.svg" symbol-width="10" symbol-height="4"></symbol>
</m>
</m>
<m k="locationType" v="4">
<m k="color" v="1">
<line dasharray="1,1,1,1" repeat-start="0" stroke="#ffffff" width="0.1"/>
</m>
<m k="color" v="9">
<line dasharray="1,1,1,1" repeat-start="0" stroke="#eccc68" width="0.1"/>
</m>
</m>-->
</m>
<!--常规点限速--> <!--常规点限速-->
<m v="OMDB_SPEEDLIMIT"> <m v="OMDB_SPEEDLIMIT">
<m k="speedFlag" v="0"> <m k="speedFlag" v="0">

View File

@ -0,0 +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="1692587943200" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6322" width="10" height="10" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M128 479.9488h768.0512v-64H128zM128 607.9488h768.0512v-64H128z" fill="#ffffff" p-id="6323"></path></svg>

After

Width:  |  Height:  |  Size: 435 B

View File

@ -0,0 +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="1692588290872" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6617" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10"><path d="M128 479.9488h768.0512v-64H128zM128 607.9488h768.0512v-64H128z" fill="#eccc68" p-id="6618"></path></svg>

After

Width:  |  Height:  |  Size: 435 B

View File

@ -0,0 +1,8 @@
<?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="1692587943200" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="6322" width="10" height="10"
xmlns:xlink="http://www.w3.org/1999/xlink">
<path d="M128 479.9488h768.0512v-64H128zM128 607.9488h768.0512v-64H128z" fill="#ffffff"
p-id="6323"></path>
</svg>

After

Width:  |  Height:  |  Size: 462 B

View File

@ -57,9 +57,9 @@ class LineHandler(context: AppCompatActivity, mapView: NIMapView) : BaseHandler(
mMapView.vtmMap, mMapView.vtmMap,
Style.builder() Style.builder()
// .stippleColor(context.resources.getColor(R.color.draw_line_red_color, null)) // .stippleColor(context.resources.getColor(R.color.draw_line_red_color, null))
.fillColor(context.resources.getColor(R.color.draw_line_red_color)) .fillColor(context.resources.getColor(R.color.draw_line_pink_color))
.fillAlpha(0.5f) .fillAlpha(0.5f)
.strokeColor(context.resources.getColor(R.color.draw_line_red_color)) .strokeColor(context.resources.getColor(R.color.draw_line_pink_color))
.strokeWidth(3f) .strokeWidth(3f)
.fixed(true).build() .fixed(true).build()
) )

View File

@ -8,6 +8,7 @@
<color name="draw_line_blue1_color" comment="线数据样式">#028FFF</color> <color name="draw_line_blue1_color" comment="线数据样式">#028FFF</color>
<color name="draw_line_blue2_color" comment="线数据样式">#4E55AF</color> <color name="draw_line_blue2_color" comment="线数据样式">#4E55AF</color>
<color name="draw_line_red_color" comment="线数据样式">#FFF6565D</color> <color name="draw_line_red_color" comment="线数据样式">#FFF6565D</color>
<color name="draw_line_pink_color" comment="线数据样式">#FFd4237a</color>
<color name="default_red" comment="应用主要色调">#F03736</color> <color name="default_red" comment="应用主要色调">#F03736</color>
<color name="draw_area_color" comment="测量面积渲染颜色">#8DEF08EB</color> <color name="draw_area_color" comment="测量面积渲染颜色">#8DEF08EB</color>

2
vtm

@ -1 +1 @@
Subproject commit 33ba2c17cea19d445f71d2e78fda6ad459aa4822 Subproject commit ebe23ed7731e301669b2b4ea03918e313a63617e