Changes between Version 31 and Version 32 of Styles/ColorWays


Ignore:
Timestamp:
2023-12-01T15:48:35+01:00 (13 months ago)
Author:
martien-vdg
Comment:

Added style for damaged or destroyed buildings

Legend:

Unmodified
Added
Removed
Modified
  • Styles/ColorWays

    v31 v32  
    44
    55With this mapstyle you can also choose the color and the width of the outline of buildings.
     6
     7It also highlights damaged/destroyed buildings. That is important for humanitarian mappers doing post-disaster mapping.
    68
    79=== Usage and installation
     
    4446    description: "Choose your preferred color and line width of building outlines for better visibility on different backgrounds. Also highways and waterways have clearer colors";
    4547    version: "0.2.[[revision]]_[[date]]";
    46     author: "Martien, osm username martien-176";
     48    author: "Martien, osm username martien-176 (formerly martien-vdg)";
    4749    link: "https://josm.openstreetmap.de/wiki/Styles/ColorWays";
    4850}
     
    140142}
    141143
     144/* Damaged buildings */
     145
     146way[destroyed:building=yes], way[damaged:building=yes]
     147{
     148    width: 4;
     149    color: white;
     150    dashes: 12,9;
     151    dashes-background-color: red;
     152
     153    text: eval("Damaged");
     154    text-color: white;
     155    text-halo-color: white;
     156    font-size: 15;
     157    text-position: center;
     158}
     159
    142160}}}
    143161