kolaslab commited on
Commit
e075ad1
·
verified ·
1 Parent(s): 3eaa1f4

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -2
index.html CHANGED
@@ -418,12 +418,13 @@
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
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})`);