|
|
@@ -313,12 +313,7 @@ function myRound(num, digits) {
|
|
|
if(digits == null)
|
|
|
digits = 6 // 比较的精度,经纬度会被经过度分秒方式到浮点方式的转化
|
|
|
|
|
|
- let tmpNum = num;
|
|
|
- if(isSafeString(tmpNum)) { // 驼峰模式,起始点和目的地是度数模式 如 38°35′17″
|
|
|
- tmpNum = latLngDegreesToDecimal(tmpNum);
|
|
|
- }
|
|
|
-
|
|
|
- return Math.round(tmpNum * Math.pow(10, digits)) / Math.pow(10, digits)
|
|
|
+ return Math.round(num * Math.pow(10, digits)) / Math.pow(10, digits)
|
|
|
}
|
|
|
|
|
|
function getLinesPolygonsAndMarkers(airspaceInfos, setStyle, currentAirspaceIndex) {
|