Skip to content

Instantly share code, notes, and snippets.

@chrisforbes
Created December 8, 2011 19:04
Show Gist options
  • Save chrisforbes/1448077 to your computer and use it in GitHub Desktop.
Save chrisforbes/1448077 to your computer and use it in GitHub Desktop.
Faster version of NZ basic layers map setup
@water: #004466;
Map { background-color: @water; }
#base-coastline, #islands { polygon-fill: #ccc; }
#rivers, #lakes { polygon-fill: @water; }
#roads { ::a { line-color: #ccc; line-width: 2.5px }
line-color: #888; }
#roads[hway_num != ''] { ::a { line-width: 3.5px; }
line-width: 2.5px; }
#buildings { line-color: #ccc; line-width: 2.5px; ::a { polygon-fill: #555; } }
#res-area { polygon-fill: #999; }
#airport { polygon-fill: #999; }
#runway[runway_use='aerodrome'] { polygon-fill: #eee; }
#runway[runway_use='airport'] { polygon-fill: #eee; }
#runway[surface='sealed'] { polygon-fill: #eee; }
#railway { ::a { line-color: #ccc; line-width: 2.5px; }
line-color: #555;
::b { line-color: #555; line-width: 5px; line-dasharray:1px,20px } }
#sand { polygon-fill: #ddd; }
#fences { line-color: #aaa; line-width: .5px }
#rocks { polygon-fill: @water + #211; }
#native-trees, #exotic-trees { polygon-fill: #bfbfbf }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment