feat:新增不可避让点,并且新增对应样式

This commit is contained in:
xudan 2025-09-02 17:39:14 +08:00
parent 3ed67542bf
commit 318e69cfaf
4 changed files with 7 additions and 2 deletions

View File

@ -18,6 +18,8 @@ export enum MapPointType {
,
/** 库区点 - 仓储作业区域 */
,
/** 不可避让点 - 机器人不可避让的点位 */
,
/** 密集库区点 - 密集库区点位 */
// 密集库区点,

View File

@ -8,7 +8,8 @@
"fill-2": "#69C6F5",
"fill-3": "#E48B1D",
"fill-4": "#E48B1D",
"fill-5": "#a72b69"
"fill-5": "#a72b69",
"fill-6": "#E63A3A"
},
"point-l": {
"stroke": "#595959",

View File

@ -8,7 +8,8 @@
"fill-2": "#69C6F5",
"fill-3": "#E48B1D",
"fill-4": "#E48B1D",
"fill-5": "#a72b69"
"fill-5": "#a72b69",
"fill-6": "#E63A3A"
},
"point-l": {
"stroke": "#595959",

View File

@ -1493,6 +1493,7 @@ function drawPoint(ctx: CanvasRenderingContext2D, pen: MapPen): void {
case MapPointType.:
case MapPointType.:
case MapPointType.:
case MapPointType.:
ctx.beginPath();
ctx.moveTo(x + w / 2 - r, y + r);
ctx.arcTo(x + w / 2, y, x + w - r, y + h / 2 - r, r);