Make layer colors match card colors on dash

This commit is contained in:
Eli Ribble 2026-01-15 19:35:13 +00:00
parent beb98813d9
commit 08c6a7f884
No known key found for this signature in database

View file

@ -32,8 +32,8 @@ function onLoad() {
'source': 'tegola-nidus', // ID of the tile source created above
'source-layer': 'mosquito_source',
'paint': {
'fill-opacity': 0.3,
'fill-color': 'rgb(250, 100, 100)'
'fill-opacity': 0.4,
'fill-color': '#dc3545'
}
//slot: 'middle' // middle slot in Mapbox Standard style
});
@ -44,8 +44,8 @@ function onLoad() {
'source': 'tegola-nidus', // ID of the tile source created above
'source-layer': 'service_request',
'paint': {
'fill-opacity': 0.3,
'fill-color': 'rgb(100, 100, 250)'
'fill-opacity': 0.4,
'fill-color': '#ffc107'
}
//slot: 'middle' // middle slot in Mapbox Standard style
});