fredmo commited on
Commit
7cbfc29
·
verified ·
1 Parent(s): fd67906

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -315,7 +315,7 @@
315
 
316
  // --- *** NEW: Create Final pointsData with Offset for Mixed Locations *** ---
317
  const pointsData = [];
318
- const locationOffset = 0.4; // Degrees latitude offset - adjust as needed
319
 
320
  Object.values(locationsAggregated).forEach(loc => {
321
  if (loc.hasTPU && loc.hasGPU) {
@@ -371,7 +371,7 @@
371
  default: return defaultColor; // Fallback
372
  }
373
  })
374
- .pointAltitude(0.05)
375
  .pointRadius(0.45) // Adjust radius if needed (maybe slightly smaller if points are close)
376
  .pointLabel(d => d.displayName) // Use displayName for labels
377
  .onPointHover(d => { // --- MODIFIED: Use displayName and correct color ---
 
315
 
316
  // --- *** NEW: Create Final pointsData with Offset for Mixed Locations *** ---
317
  const pointsData = [];
318
+ const locationOffset = 0.3; // Degrees latitude offset - adjust as needed
319
 
320
  Object.values(locationsAggregated).forEach(loc => {
321
  if (loc.hasTPU && loc.hasGPU) {
 
371
  default: return defaultColor; // Fallback
372
  }
373
  })
374
+ .pointAltitude(0.03)
375
  .pointRadius(0.45) // Adjust radius if needed (maybe slightly smaller if points are close)
376
  .pointLabel(d => d.displayName) // Use displayName for labels
377
  .onPointHover(d => { // --- MODIFIED: Use displayName and correct color ---