huweili-cesium 1.2.20 → 1.2.21

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.
@@ -94,7 +94,7 @@ export function dronePlannedRouteConfig() {
94
94
  const lineColor = options.lineColor || DEFAULT_LINE_COLOR
95
95
  const lineWidth = Number(options.lineWidth) || DEFAULT_LINE_WIDTH
96
96
  const showWaypointLabels = options.showWaypointLabels !== false
97
- const waypointPixelSize = Number(options.waypointPixelSize) || 10
97
+ const waypointPixelSize = Number(options.waypointPixelSize) || 6
98
98
  const color = Cesium.Color.fromCssColorString(lineColor)
99
99
 
100
100
  const positions = normalized.map((wp) =>
@@ -141,7 +141,7 @@ export function dronePlannedRouteConfig() {
141
141
  label: showWaypointLabels
142
142
  ? {
143
143
  text: `航点${i + 1}`,
144
- font: '14px Microsoft YaHei, sans-serif',
144
+ font: '10px Microsoft YaHei, sans-serif',
145
145
  fillColor: Cesium.Color.WHITE,
146
146
  outlineColor: Cesium.Color.BLACK,
147
147
  outlineWidth: 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huweili-cesium",
3
- "version": "1.2.20",
3
+ "version": "1.2.21",
4
4
  "description": "基于 Cesium 的地图工具库(无人机态势、轨迹、围栏、工具栏等)",
5
5
  "type": "module",
6
6
  "main": "./index.js",