huweili-cesium 1.2.75 → 1.2.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/js/movePoint.js +1 -1
  2. package/package.json +1 -1
package/js/movePoint.js CHANGED
@@ -255,7 +255,7 @@ export function movePointConfig(baseUrl) {
255
255
  info.speed = speed
256
256
  info.flyingHandName = options.flyingHandName || ''
257
257
  info.flyingHandPhone = options.flyingHandPhone || ''
258
- info.flyingHandPosition = options.GROUND_LINK_LNG + ',' + options.GROUND_LINK_LAT
258
+ info.flyingHandPosition = `${Number(options.GROUND_LINK_LNG).toFixed(4)},${Number(options.GROUND_LINK_LAT).toFixed(4)}`
259
259
  info.frequencyBand = options.frequencyBand || ''
260
260
  info.distance = options.distance || ''
261
261
  info.receiveTime = options.receiveTime || ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huweili-cesium",
3
- "version": "1.2.75",
3
+ "version": "1.2.76",
4
4
  "description": "基于 Cesium 的地图工具库(无人机态势、轨迹、围栏、工具栏等)",
5
5
  "type": "module",
6
6
  "main": "./index.js",