Skip to content

Commit

Permalink
Make blackspots all red instead of several colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jisantuc committed Jun 16, 2016
1 parent fad3a3c commit 5adbb3e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions windshaft/driver.js
Expand Up @@ -74,12 +74,7 @@ var blackspotRules = [
'polygon-opacity: 0.5;',
'line-opacity: 0.8;',
'line-color: red;',
'polygon-fill: red;',
'[ severity_score > 0] { line-color: green; polygon-fill: green ; }',
'[ severity_score > 0.1] { line-color: blue; polygon-fill: blue ; }',
'[ severity_score > 0.3] { line-color: purple; polygon-fill: purple ; }',
'[ severity_score > 0.5] { line-color: orange; polygon-fill: orange ; }',
'[ severity_score > 0.7] { line-color: red; polygon-fill: red ; }',
'polygon-fill: red;'
];
var blackspotStyle = constructCartoStyle('#black_spots_blackspot', blackspotRules);

Expand Down

0 comments on commit 5adbb3e

Please sign in to comment.