Changed Marker colors

This commit is contained in:
Shiva Pochampally
2025-09-27 11:19:37 -04:00
parent a61c8505f4
commit e4a8638f28

View File

@@ -127,7 +127,7 @@ export default function MapView({ mapStyleChoice, heatRadius, heatIntensity, hea
id: 'dc-point', type: 'circle', source: 'dc-quakes', minzoom: 12, id: 'dc-point', type: 'circle', source: 'dc-quakes', minzoom: 12,
paint: { paint: {
'circle-radius': ['interpolate', ['linear'], ['get', 'mag'], 1, 2, 6, 8], 'circle-radius': ['interpolate', ['linear'], ['get', 'mag'], 1, 2, 6, 8],
'circle-color': styleChoiceRef.current === 'dark' ? '#ffffff' : '#222222', 'circle-color': styleChoiceRef.current === 'dark' ? '#ffffff' : '#a9a9a9',
'circle-opacity': ['interpolate', ['linear'], ['zoom'], 12, 0, 14, 1] 'circle-opacity': ['interpolate', ['linear'], ['zoom'], 12, 0, 14, 1]
} }
}); });