the default render with comments:

<renderingAttribute name="route">
<!-- fluorescent: filter attrColorValue="#CCFF6600"/ -->
<!-- was badly visible on motorways: filter nightMode="false" 
attrColorValue="#960000FF"/ -->
<!-- color used for route line color -->
<!-- color_0 used for route line stroke color -->
<!-- color_2 used for route direction arrows -->
<!-- color_3 used for turn arrows on the route -->
<case color="#882a4bd1" strokeWidth="12:8" color_3="#ffde5b" 
color_2="#bfccff" strokeWidth_3="5:7">
<apply_if nightMode="true" color="#ffdf3d" color_2="#806f1f" 
color_3="#41a6d9" strokeWidth="9:8" color_0="#CCb29c2b" 
strokeWidth_0="12:8"/>
</case>
</renderingAttribute>

try strokeWidth_*3* for arrow width

Le lundi 6 juillet 2020 15:53:49 UTC+2, Everton Hermann a écrit :
>
> Hello,
> I would like to know if it's possible to change the "route" 
> renderingAttribute using a renderingProperty. For instance I would like to 
> have an option to use larger arrow size.
> It works fine if I use "nightMode" in place of "bigArrow", and I switch 
> between night and day mode. But it doesn't work when I switch the new 
> renderingProperty "bigArrow".
>
> Best regards
>
>
>
> <renderingStyle depends="Touring-view_(more-contrast-and-details).render" 
> name="CycleTouring" defaultColor="#f1eae4" version="1"> <renderingProperty 
> attr="bigArrow" name="Show Big Arrow" description="Show Big Arrow" type=
> "boolean" possibleValues="" category="routes"/> <renderingAttribute name=
> "route"> <case strokeWidth="10:6" color_3="#FFFFFF" strokeWidth_3="5:3"> 
> <apply_if bigArrow="true" strokeWidth="16:16" strokeWidth_3="12:12"/> 
> </case> </renderingAttribute> </renderingStyle> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/b953e4b0-c001-476c-b483-e38c9391fc33o%40googlegroups.com.

Reply via email to