diff --git a/public/live.js b/public/live.js
index a8249fbc..f3d6599f 100644
--- a/public/live.js
+++ b/public/live.js
@@ -2373,7 +2373,7 @@
? window.makeRoleMarkerSVG(n.role, color, sizePx)
: '');
+ '" fill="' + color + '" stroke="#fff" stroke-width="1"/>');
const icon = L.divIcon({
html: svgHtml,
diff --git a/public/map.js b/public/map.js
index 54fb9504..751a2cfc 100644
--- a/public/map.js
+++ b/public/map.js
@@ -36,13 +36,13 @@
let path;
switch (s.shape) {
case 'diamond':
- path = ``;
+ path = ``;
break;
case 'square':
- path = ``;
+ path = ``;
break;
case 'triangle':
- path = ``;
+ path = ``;
break;
case 'hexagon': {
// #1293 — pointy-top hexagon for room servers
@@ -53,7 +53,7 @@
hpts += (c + hr * Math.cos(ha)).toFixed(2) + ',' +
(c + hr * Math.sin(ha)).toFixed(2) + ' ';
}
- path = ``;
+ path = ``;
break;
}
case 'star': {
@@ -66,11 +66,11 @@
pts += `${cx + outer * Math.cos(aOuter)},${cy + outer * Math.sin(aOuter)} `;
pts += `${cx + inner * Math.cos(aInner)},${cy + inner * Math.sin(aInner)} `;
}
- path = ``;
+ path = ``;
break;
}
default: // circle
- path = ``;
+ path = ``;
}
// If this node is also an observer, add a small star overlay
let obsOverlay = '';
diff --git a/public/roles.js b/public/roles.js
index d328c62d..59d8bcb0 100644
--- a/public/roles.js
+++ b/public/roles.js
@@ -100,16 +100,16 @@
switch (shape) {
case 'square':
path = '';
+ '" fill="' + fill + '" stroke="#fff" stroke-width="1"/>';
break;
case 'triangle':
path = '';
+ ' 2,' + (size - 2) + '" fill="' + fill + '" stroke="#fff" stroke-width="1"/>';
break;
case 'diamond':
path = '';
+ '" fill="' + fill + '" stroke="#fff" stroke-width="1"/>';
break;
case 'hexagon': {
// Pointy-top hexagon centred at (c,c), inscribed radius ≈ c-1.5
@@ -121,7 +121,7 @@
(c + r * Math.sin(a)).toFixed(2) + ' ';
}
path = '';
+ '" stroke="#fff" stroke-width="1"/>';
break;
}
case 'star': {
@@ -134,12 +134,12 @@
spts += (cx + inner * Math.cos(aI)) + ',' + (cy + inner * Math.sin(aI)) + ' ';
}
path = '';
+ '" stroke="#fff" stroke-width="1"/>';
break;
}
default: // circle
path = '';
+ '" fill="' + fill + '" stroke="#fff" stroke-width="1"/>';
}
return '