Skip to content

Commit

Permalink
Addressing.
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitystorm committed Nov 15, 2012
1 parent 1de420d commit d2bb4b4
Showing 1 changed file with 32 additions and 25 deletions.
57 changes: 32 additions & 25 deletions addressing.mss
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
/*
<Style name="interpolation">
<Rule>
&maxscale_zoom17;
<LineSymbolizer stroke="#888" stroke-width="1" stroke-dasharray="2,4"/>
</Rule>
</Style>
<Style name="housenumbers">
<Rule>
&maxscale_zoom17;
<TextSymbolizer size="9" fill="#444" dy="0" fontset-name="book-fonts" wrap-width="0" minimum-distance="1" placement="interior">[addr:housenumber]</TextSymbolizer>
</Rule>
</Style>
<Style name="housenames">
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<TextSymbolizer size="8" fill="#444" dy="0" fontset-name="book-fonts" wrap-width="20" placement="interior">[addr:housename]</TextSymbolizer>
</Rule>
<Rule>
&maxscale_zoom18;
<TextSymbolizer size="9" fill="#444" dy="0" fontset-name="book-fonts" wrap-width="20" placement="interior">[addr:housename]</TextSymbolizer>
</Rule>
</Style>
#interpolation {
[zoom >= 17] {
line-color: #888;
line-width: 1;
line-dasharray: 2,4;
}
}

*/
#housenumbers {
[zoom >= 17] {
text-name: "[addr:housenumber]";
text-placement: interior;
text-min-distance: 1;
text-wrap-width: 0;
text-face-name: @book-fonts;
text-fill: #444;
text-size: 9;
}
}

#housenames {
[zoom >= 17] {
text-name: "[addr:housename]";
text-placement: interior;
text-wrap-width: 20;
text-face-name: @book-fonts;
text-size: 8;
text-fill: #444;
[zoom >= 18] {
text-size: 9;
}
}
}

0 comments on commit d2bb4b4

Please sign in to comment.