Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created January 18, 2011 16:41
Show Gist options
  • Save tmcw/784707 to your computer and use it in GitHub Desktop.
Save tmcw/784707 to your computer and use it in GitHub Desktop.
.ancestor {
shield-name: something;
shield-name: something;
shield-size: something;
shield-fill: something;
shield-min-distance: something;
shield-spacing: something;
shield-spacing: something;
shield-line-spacing: something;
shield-file: something;
shield-width: something;
shield-height : something;
shield-type : something;
shield-meta-output: something;
shield-meta-writer: something;
}
/**
* All of the rule below necessary to
* 'remove' shield symbolizer
*/
#morespecificselector .ancestor {
shield-name: none;
shield-name: none;
shield-size: none;
shield-fill: none;
shield-min-distance: none;
shield-spacing: none;
shield-spacing: none;
shield-line-spacing: none;
shield-file: none;
shield-width: none;
shield-height : none;
shield-type : none;
shield-meta-output: none;
shield-meta-writer: none;
}
@FBAT
Copy link

FBAT commented Mar 8, 2011

Hi
Can you tell us the correct syntax to use SHIELD in TILEMILL (and give us an example).
For the moment i get a blank page as a result.

Thanks

My syntax:

MOTORWAY {

shield-name: "[NUMBER]";
shield-face-name:"DejaVu Sans Bold";
shield-size:10;
shield-fill: white;
shield-spacing:50;
shield-line-spacing:5;
shield-file: url(../resources/icons/Shield4.png);
shield-width:20;
shield-height:20;
shield-type: png; }

@tmcw
Copy link
Author

tmcw commented Mar 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment