diff --git a/src/scene/CesiumGlobe.js b/src/scene/CesiumGlobe.js index 1fe37d2..18d4087 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 = 7, arrowW = 10, arrowH = 14, S = 2, B = 2; // S: 2x 超采样,B: 边框预留 + const padX = 8, padY = 5, radius = 9, arrowW = 7, arrowH = 10, 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');