| @@ -1,5 +1,11 @@ | |||
| # Change Log | |||
| ### 1.14.0 - 2021-01-09 | |||
| > 1. 升级 Cesium 到 1.77 | |||
| > 2. 完善罗盘组件的样式 | |||
| > 3. 去除抛物线的点位认证 | |||
| ### 1.13.3 - 2020-12-26 | |||
| > 1. 添加鼠标事件中的WGS84坐标参数 | |||
| @@ -3,8 +3,6 @@ | |||
| * @Date: 2020-05-28 10:24:38 | |||
| */ | |||
| import { Util } from '../utils' | |||
| export default function parabola( | |||
| startPosition, | |||
| endPosition, | |||
| @@ -13,9 +11,6 @@ export default function parabola( | |||
| ) { | |||
| //方程 y=-(4h/L^2)*x^2+h h:顶点高度 L:横纵间距较大者 | |||
| let result = [] | |||
| if (!Util.checkPosition(startPosition) || !Util.checkPosition(endPosition)) { | |||
| return result | |||
| } | |||
| height = Math.max(+height, 100) | |||
| count = Math.max(+count, 50) | |||
| let diffLng = Math.abs(startPosition.lng - endPosition.lng) | |||
| @@ -2,7 +2,7 @@ | |||
| position: absolute; | |||
| top: 20px; | |||
| right: 20px; | |||
| cursor: default; | |||
| cursor: pointer; | |||
| pointer-events: auto; | |||
| user-select: none; | |||
| width: 55px; | |||