I tried changing the primaryRoadColor value to ff0000. When I compile, it is replaced with the default ff80a0 value. How and where can I create custom color for roads?
In my render folder, I have the following XML:
default.render.xml, Depends-template.render.xml, hud.render.xml, LightRS.render.xml, nautical.render.xml, regions.render.xml, skimap.render.xml, standalone-template.render.xml, test.render.xml, Topo-map-assimilation.render.xml,Touring-view_(more-contrast-and-details).render.xml, UniRS.render.xml
I followed this link, it didn't work out.

It seems that this tutorial needs updating, a complete "Hello World!" style example would've been nice.
This is how I did it in OsmAnd+ 2.3.5.
My data storage folder (
Settings -> General Settings -> Data storage folder) was in:so the custom renderer file had to go to:
This directory may be empty at first but as you select map styles from
Configure map -> Map styleOsmAnd will drop the corresponding renderer XML files into that directory.NOTE: You have to completely shut down the app and restart it again after adding new renderers or making changes to the existing ones for the app to pick the changes up.
I went the "inheritance" route and created a file called
BLACK_ROADS.render.xml(following the<name-of-renderer>.render.xmlnaming requirement) that extended thedefault(default.render.xml) renderer.Here is the content of my renderer. I made it into a sort of a template so I can later see what else can go into this file.
And here are the results: