making a "custom" theme

Started by drmiller100, November 05, 2015, 04:47:57

0 Members and 1 Guest are viewing this topic.

drmiller100

Hello,
I'm trying to make a custom theme based on one of the other available publicly themes.  I figured  out how to turn contour lines off.

I'm doing middle of Idaho (no where), and want all the "roads" out to a 10 mile zoom level including tertiary and unclassified.

I'm guessing zoom level 1 is the world,  zoom level 20 is zoomed way in. Correct?

I started with Elements 3.1.0.  I cannot figure out what section controls the color of the unclassified roads - I want to change the color, and I want to make it so they show up on a bigger area - I don't have to zoom in so far to find them.

I'm using the "Idaho" vector map if it matters on an S3 Note.

Thank you very much,
Douig
  •  

john_percy

The following two snippets control the outline and fill of unclassified roads at zoom=13 and above:
<rule e="way" k="highway" v="road|unclassified|residential|living_street|ford" zoom-min="13">
<line stroke="#222222" stroke-width="3.20" />
</rule>
<rule e="way" k="highway" v="unclassified|residential|living_street|road|ford" zoom-min="13">
<line stroke="#FFFFFF" stroke-width="2.20" />
</rule>


The following snippet controls the appearance of unclassified roads at zoom=12 and below. They are shown as a single grey stroke:
<rule e="way" k="highway" v="unclassified|residential|living_street|road|ford" zoom-max="12">
<line stroke="#CCCCCC" stroke-width="2.20" />
</rule>

There is no zoom-min here, so if the road does not appear at low zooms, it is because the map itself hides it. You may find that the relevant map from OpenAndroMaps shows unclassified roads at a lower zoom in your region but I don't know.
Voluntary and Velocity themes - https://voluntary.nichesite.org
  •