fix: 修改可变点限速不显示的问题
This commit is contained in:
parent
78766de39c
commit
2292fbc6d8
@ -35,7 +35,7 @@
|
|||||||
"zoomMin": 15,
|
"zoomMin": 15,
|
||||||
"zoomMax": 17,
|
"zoomMax": 17,
|
||||||
"catch":true,
|
"catch":true,
|
||||||
"checkLinkId": true
|
"checkLinkId": false
|
||||||
},
|
},
|
||||||
"2002": {
|
"2002": {
|
||||||
"table": "OMDB_RD_LINK_FUNCTION_CLASS",
|
"table": "OMDB_RD_LINK_FUNCTION_CLASS",
|
||||||
@ -339,19 +339,19 @@
|
|||||||
{
|
{
|
||||||
"k": "location",
|
"k": "location",
|
||||||
"v": "1",
|
"v": "1",
|
||||||
"klib": "location",
|
"klib": "ref",
|
||||||
"vlib": "左"
|
"vlib": "左"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"k": "location",
|
"k": "location",
|
||||||
"v": "2",
|
"v": "2",
|
||||||
"klib": "locationlib",
|
"klib": "ref",
|
||||||
"vlib": "右"
|
"vlib": "右"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"k": "location",
|
"k": "location",
|
||||||
"v": "3",
|
"v": "3",
|
||||||
"klib": "location",
|
"klib": "ref",
|
||||||
"vlib": "上"
|
"vlib": "上"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -166,7 +166,7 @@ class PersonalCenterFragment(private var indoorDataListener: ((Boolean) -> Unit?
|
|||||||
// 定位到指定位置
|
// 定位到指定位置
|
||||||
niMapController.mMapView.vtmMap.animator()
|
niMapController.mMapView.vtmMap.animator()
|
||||||
// .animateTo(GeoPoint( 40.05108004733645, 116.29187746293708 ))
|
// .animateTo(GeoPoint( 40.05108004733645, 116.29187746293708 ))
|
||||||
.animateTo(GeoPoint(40.09819324139729,116.53123207733361 ))
|
.animateTo(GeoPoint(40.5016054261786, 115.82381251427815))
|
||||||
}
|
}
|
||||||
|
|
||||||
R.id.personal_center_menu_open_all_layer -> {
|
R.id.personal_center_menu_open_all_layer -> {
|
||||||
|
@ -1871,18 +1871,10 @@
|
|||||||
|
|
||||||
<!--可变点限速-->
|
<!--可变点限速-->
|
||||||
<m v="OMDB_SPEEDLIMIT_VAR" >
|
<m v="OMDB_SPEEDLIMIT_VAR" >
|
||||||
<m k="speedFlag" v="0">
|
<caption fill="#ffffff" k="ref" priority="0" size="12" stroke="#ffffff"
|
||||||
<caption fill="#000000" k="maxSpeed" priority="0" size="12" stroke="#ffffff"
|
stroke-width="1.0"></caption>
|
||||||
stroke-width="1.0"></caption>
|
<symbol src="assets:omdb/icon_4004_0.svg" symbol-height="42"
|
||||||
<symbol src="assets:omdb/icon_4004_0.svg" symbol-height="42"
|
symbol-width="42"></symbol>
|
||||||
symbol-width="42"></symbol>
|
|
||||||
</m>
|
|
||||||
<m k="speedFlag" v="1">
|
|
||||||
<caption fill="#000000" k="maxSpeed" priority="0" size="12" stroke="#ffffff"
|
|
||||||
stroke-width="1.0"></caption>
|
|
||||||
<symbol src="assets:omdb/icon_4004_0.svg" symbol-height="42"
|
|
||||||
symbol-width="42"></symbol>
|
|
||||||
</m>
|
|
||||||
</m>
|
</m>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1470,8 +1470,8 @@ public class GeometryTools {
|
|||||||
double startLatitude = MercatorProjection.tileYToLatitude(tile.tileY, tile.zoomLevel);
|
double startLatitude = MercatorProjection.tileYToLatitude(tile.tileY, tile.zoomLevel);
|
||||||
double endLongitude = MercatorProjection.tileXToLongitude(tile.tileX + 1, tile.zoomLevel);
|
double endLongitude = MercatorProjection.tileXToLongitude(tile.tileX + 1, tile.zoomLevel);
|
||||||
double endLatitude = MercatorProjection.tileYToLatitude(tile.tileY + 1, tile.zoomLevel);
|
double endLatitude = MercatorProjection.tileYToLatitude(tile.tileY + 1, tile.zoomLevel);
|
||||||
return GeometryTools.createPolygonFromCoords(new Coordinate[]{new Coordinate(startLongitude, startLongitude), new Coordinate(endLongitude, startLatitude),
|
return GeometryTools.createPolygonFromCoords(new Coordinate[]{new Coordinate(startLongitude, startLatitude), new Coordinate(endLongitude, startLatitude),
|
||||||
new Coordinate(endLongitude, endLatitude), new Coordinate(startLongitude, endLatitude), new Coordinate(startLongitude, startLongitude)});
|
new Coordinate(endLongitude, endLatitude), new Coordinate(startLongitude, endLatitude), new Coordinate(startLongitude, startLatitude)});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 经纬度转墨卡托
|
* 经纬度转墨卡托
|
||||||
|
Loading…
x
Reference in New Issue
Block a user