Changes between Initial Version and Version 1 of Styles/ConscriptionStreetnumber


Ignore:
Timestamp:
2014-12-19T07:15:17+01:00 (12 years ago)
Author:
jose1711
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Styles/ConscriptionStreetnumber

    v1 v1  
     1{{{
     2#!style type="mapcss"
     3meta {
     4    title: "Conscriptionnumbers/streetnumbers";
     5    version: "0.2";
     6    description: "Displays addresses using Czech/Slovak address system";
     7    link: "http://wiki.openstreetmap.org/wiki/CS:WikiProject_Czech_Republic/Address_system";
     8    author: "jose1711";
     9}
     10
     11meta[lang=sk]{
     12    title: "Súpisné/orientačné čísla";
     13    description: "Zobrazenie adries podľa českého/slovenského systému";
     14}
     15
     16meta[lang=cs]{
     17    title: "Čísla popisná/orientační";
     18    description: "Zobrazení adres dle českého/slovenského schématu";
     19}
     20
     21/* address on a node */
     22node|z18-[addr:streetnumber][!addr:conscriptionnumber] {
     23    font-family: "DejaVu Sans Book";
     24    font-size: 12;
     25    text: "addr:streetnumber";
     26    text-color: black;
     27    text-halo-radius: 2;
     28    text-wrap-width: 10;
     29    text-position: line;
     30}
     31
     32node|z18-[addr:streetnumber][addr:conscriptionnumber] {
     33    font-family: "DejaVu Sans Book";
     34    font-size: 12;
     35    text: concat(eval(tag("addr:streetnumber")),"/",eval(tag("addr:conscriptionnumber")));
     36    text-color: black;
     37    text-halo-radius: 2;
     38    text-wrap-width: 10;
     39    text-position: line;
     40}
     41
     42/* address on a building */
     43area|z18-[addr:streetnumber][!addr:conscriptionnumber] {
     44    font-family: "DejaVu Sans Book";
     45    font-size: 14;
     46    text: "addr:streetnumber";
     47    text-color: white;
     48    text-halo-radius: 2;
     49    fill-color: white;
     50    text-wrap-width: 10;
     51    text-position: center;
     52}
     53
     54area|z18-[addr:streetnumber][addr:conscriptionnumber] {
     55    font-family: "DejaVu Sans Book";
     56    font-size: 14;
     57    text: concat(eval(tag("addr:streetnumber")),"/",eval(tag("addr:conscriptionnumber")));
     58    text-color: white;
     59    text-halo-radius: 2;
     60    fill-color: white;
     61    text-wrap-width: 10;
     62    text-position: center;
     63}
     64}}}