From b23eda1da2848d60d2f054c38db662b6980ade02 Mon Sep 17 00:00:00 2001 From: xmd5a Date: Wed, 27 Jan 2016 23:51:17 +0300 Subject: [PATCH] Add onewaysArrowColor attribute --- .../src/net/osmand/render/RenderingRuleStorageProperties.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OsmAnd-java/src/net/osmand/render/RenderingRuleStorageProperties.java b/OsmAnd-java/src/net/osmand/render/RenderingRuleStorageProperties.java index b37f0e1197..d20563d622 100644 --- a/OsmAnd-java/src/net/osmand/render/RenderingRuleStorageProperties.java +++ b/OsmAnd-java/src/net/osmand/render/RenderingRuleStorageProperties.java @@ -29,6 +29,7 @@ public class RenderingRuleStorageProperties { public static final String SHIELD = "shield"; public static final String SHADOW_RADIUS = "shadowRadius"; public static final String SHADOW_COLOR = "shadowColor"; + public static final String ONEWAY_ARROWS_COLOR = "onewayArrowsColor"; public static final String SHADER = "shader"; public static final String CAP_5 = "cap_5"; public static final String CAP_4 = "cap_4"; @@ -103,6 +104,7 @@ public class RenderingRuleStorageProperties { public RenderingRuleProperty R_SHADOW_RADIUS; public RenderingRuleProperty R_SHADOW_COLOR; public RenderingRuleProperty R_SHADER; + public RenderingRuleProperty R_ONEWAY_ARROWS_COLOR; public RenderingRuleProperty R_CAP_5; public RenderingRuleProperty R_CAP_4; public RenderingRuleProperty R_CAP_3; @@ -288,6 +290,8 @@ public class RenderingRuleStorageProperties { R_SHADOW_COLOR = registerRuleInternal(RenderingRuleProperty.createOutputColorProperty(SHADOW_COLOR)); R_SHADOW_RADIUS = registerRuleInternal(RenderingRuleProperty.createOutputFloatProperty(SHADOW_RADIUS)); + + R_ONEWAY_ARROWS_COLOR = registerRuleInternal(RenderingRuleProperty.createOutputColorProperty(ONEWAY_ARROWS_COLOR)); } public RenderingRuleProperty get(String name) {