Update index.html
Browse files- index.html +3 -2
index.html
CHANGED
@@ -418,12 +418,13 @@
|
|
418 |
}
|
419 |
}
|
420 |
|
421 |
-
|
422 |
sdrStations.forEach(station => {
|
423 |
const pos = this.latLongToXY(station.location[0], station.location[1]);
|
424 |
|
425 |
-
// Draw coverage area with gradient
|
426 |
const gradient = this.ctx.createRadialGradient(
|
|
|
427 |
pos.x, pos.y, station.range / 2
|
428 |
);
|
429 |
gradient.addColorStop(0, `rgba(0,255,0,${station.active ? 0.2 : 0.05})`);
|
|
|
418 |
}
|
419 |
}
|
420 |
|
421 |
+
drawStations() {
|
422 |
sdrStations.forEach(station => {
|
423 |
const pos = this.latLongToXY(station.location[0], station.location[1]);
|
424 |
|
425 |
+
// Draw coverage area with gradient - Fixed gradient parameters
|
426 |
const gradient = this.ctx.createRadialGradient(
|
427 |
+
pos.x, pos.y, 0,
|
428 |
pos.x, pos.y, station.range / 2
|
429 |
);
|
430 |
gradient.addColorStop(0, `rgba(0,255,0,${station.active ? 0.2 : 0.05})`);
|