完善室内整理功能

This commit is contained in:
qiji4215
2023-07-20 16:01:42 +08:00
parent 0848ee491b
commit c83ed1b97e
5 changed files with 69 additions and 29 deletions

View File

@@ -1713,7 +1713,7 @@
</m>
<m k="boundaryType" v="1">
<!--无标线无可区分边界-->
<line dasharray="10,2,2,2,2,2,2,2" repeat-start="0" stroke="#ffffff" width="0.2" />
<line dasharray="20,8" repeat-start="0" stroke="#ffffff" width="0.2"/>
</m>
<!-- <outline-layer id="boundaryType" stroke="#fcba5a" width="0.2" />
<m k="boundaryType" v="0">
@@ -1771,7 +1771,6 @@
<m v="1">
<line stroke="#ffffff" use="boundaryType" />
</m>
<!--只区分虚线与实线-->
<m v="2">
<line dasharray="10,2,2,2,2,2,2,2" repeat-start="0" stroke="#eccc68" use="boundaryType" />
</m>
@@ -1819,12 +1818,12 @@
</m>-->
</m>
</m>
<m v="0|1|3|4|5|6|7|8|9">
<m v="0|3|4|5|6|7|8|9">
<line stroke="#ffffff" use="boundaryType" />
</m>
<!--只区分虚线与实线-->
<m v="0|3|4|5|6|7|8|9">
<line dasharray="10,2,2,2,2,2,2,2" repeat-start="0" stroke="#ffffff" />
<m v="1">
<line dasharray="20,8" repeat-start="0" stroke="#ffffff" width="0.2"/>
</m>
</m>
</m>

View File

@@ -758,9 +758,9 @@ class MarkHandler(context: AppCompatActivity, mapView: NIMapView) :
return niLocationItemizedLayer.itemList.size
}
fun getNILocation(index:Int):MarkerInterface?{
fun getNILocation(index:Int):NiLocation?{
return if(index>-1&&index<getNILocationItemizedLayerSize()){
niLocationItemizedLayer.itemList[index]
((niLocationItemizedLayer.itemList[index])as MarkerItem).uid as NiLocation
}else{
null
}