remove extra space
This commit is contained in:
parent
cdcee6e29c
commit
dd5b31dcc9
|
@ -36,7 +36,6 @@ export const reds = [
|
||||||
'rgba( 255, 0, 0, 0)',
|
'rgba( 255, 0, 0, 0)',
|
||||||
'rgba( 255, 0, 0, 255)',
|
'rgba( 255, 0, 0, 255)',
|
||||||
]
|
]
|
||||||
]
|
|
||||||
|
|
||||||
export function colorByCount(attribute = 'event_count', maxCount, colormap = viridis) {
|
export function colorByCount(attribute = 'event_count', maxCount, colormap = viridis) {
|
||||||
return colormapToScale(colormap, ['case', ['to-boolean', ['get', attribute]], ['get', attribute], 0], 0, maxCount)
|
return colormapToScale(colormap, ['case', ['to-boolean', ['get', attribute]], ['get', attribute], 0], 0, maxCount)
|
||||||
|
|
Loading…
Reference in a new issue