From d327ab5bc14fbfedd912d488c14f1d2adb8aaf5b Mon Sep 17 00:00:00 2001 From: fukunee Date: Sat, 19 Sep 2026 17:34:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=BF=E7=AD=BE=EF=BC=9A=E7=AE=AD=E5=A4=B4?= =?UTF-8?q?=E5=8A=A0=E5=A4=A7=E3=80=81=E5=9C=86=E8=A7=92=E6=9B=B4=E5=B0=8F?= =?UTF-8?q?=E6=9B=B4=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scene/CesiumGlobe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/CesiumGlobe.js b/src/scene/CesiumGlobe.js index 18d4087..a19c75b 100644 --- a/src/scene/CesiumGlobe.js +++ b/src/scene/CesiumGlobe.js @@ -55,7 +55,7 @@ function sphericalAreaKm2(polys) { // 生成便签 canvas:黄底圆角 + 左侧箭头 + 黑色加粗文字(整张图,箭头尖端指向坐标) // 选中态:先描粗边再填充,得到一条干净的 2px 外描边(四周预留 B 的 padding 防止裁切) function makeStickyNote(text, fontSize, selected = false) { - const padX = 8, padY = 5, radius = 9, arrowW = 7, arrowH = 10, S = 2, B = 2; // S: 2x 超采样,B: 边框预留 + const padX = 8, padY = 5, radius = 4, arrowW = 13, arrowH = 16, S = 2, B = 2; // S: 2x 超采样,B: 边框预留 const font = `bold ${fontSize}px "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif`; const m = document.createElement('canvas'); const mctx = m.getContext('2d');