Skip to content

Instantly share code, notes, and snippets.

@roryf
Created September 9, 2011 12:50
Show Gist options
  • Save roryf/1206119 to your computer and use it in GitHub Desktop.
Save roryf/1206119 to your computer and use it in GitHub Desktop.
Maperitive rules for creating white-on-black maps of primary roads
// Wireframe rules
// Created by Igor Brejc
// Edited by Rory Fitzpatrick
// Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/)
features
lines
line : highway=primary OR highway=tertiary OR highway=motorway OR highway=trunk OR highway=secondary
coastline : natural=coastline
properties
map-background-color : #000000
map-sea-color : black
rules
target : line
define
line-color : #444444
line-width : 0.3
draw : line
target : coastline
define
line-color : #444444
line-width : 0.5
draw : line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment