fix: add DUKE, SOCO, TVA centroids for floating price labels

This commit is contained in:
Joey Eamigh 2026-02-11 16:22:46 -05:00
parent 8f99f6535e
commit 9e83cfead3
No known key found for this signature in database
GPG Key ID: CE8C05DFFC53C9CB

View File

@ -22,6 +22,9 @@ const REGION_CENTROIDS: Record<string, { lat: number; lng: number }> = {
SPP: { lat: 36.5, lng: -98.0 },
ISONE: { lat: 42.5, lng: -71.8 },
NYISO: { lat: 42.5, lng: -75.5 },
DUKE: { lat: 35.5, lng: -80.0 },
SOCO: { lat: 32.8, lng: -84.5 },
TVA: { lat: 35.8, lng: -86.5 },
};
function priceToLabelBorderColor(price: number | null): string {