OSMIndoorLayer: fix polygon line color parsing #366
This commit is contained in:
parent
abc1867d7c
commit
3d7a09c457
@ -95,7 +95,8 @@ public class OSMIndoorLayer extends JeoVectorLayer {
|
||||
|
||||
if (ll.line == null) {
|
||||
float width = rule.number(f, CartoCSS.LINE_WIDTH, 1.2f);
|
||||
int color = Color.rainbow((level + 1) / 10f);
|
||||
//int color = Color.rainbow((level + 1) / 10f);
|
||||
int color = JeoUtils.color(rule.color(f, CartoCSS.LINE_COLOR, RGB.black));
|
||||
|
||||
if (/*level > -2 && */!active)
|
||||
color = getInactiveColor(color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user