Make layer colors match card colors on dash
This commit is contained in:
parent
beb98813d9
commit
08c6a7f884
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue