Author Topic: making a "custom" theme  (Read 1344 times)

Offline drmiller100

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • Device: Note 3
making a "custom" theme
« on: November 05, 2015, 04:47:57 »
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,

Offline john_percy

  • Master of Locus
  • ****
  • Posts: 622
  • Thanked: 83 times
    • View Profile
  • Device: MotoG
Re: making a "custom" theme
« Reply #1 on: November 05, 2015, 10:03:59 »
The following two snippets control the outline and fill of unclassified roads at zoom=13 and above:
Code: [Select]
<rule e="way" k="highway" v="road|unclassified|residential|living_street|ford" zoom-min="13">
<line stroke="#222222" stroke-width="3.20" />
Code: [Select]
<rule e="way" k="highway" v="unclassified|residential|living_street|road|ford" zoom-min="13">
<line stroke="#FFFFFF" stroke-width="2.20" />

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