wiki:Styles/NewModifiedBuildings
meta
{
    title: "new-modified-buildings";
    description: "Flags new and modified buildings. This mapstyle is partly inspired by another mapstyle named Modified Objects";
    version:"1.10_2024-04-20";
    author: "martien-176";
    link: "https://josm.openstreetmap.de/wiki/Styles/NewModifiedBuildings";
}

setting::building_line_width 
{
  type: double;
  label: tr("Choose line width of modified / new building");
  default: 2;
}

setting::building_node_width 
{
  type: double;
  label: tr("Choose modified node width");
  default: 10;
}

way[building]:modified > node:modified, way[building] > node:modified
{
    symbol-shape: circle;
    symbol-size: setting("building_node_width");
    symbol-stroke-color: #00FF00; /* green */
    symbol-stroke-width: 2;
}

way[building]:modified, way[building]:new
{
    color: #ffffff; /* white */
    dashes: 12,9;
    width: setting("building_line_width");
}

way[building]:modified
{
    dashes-background-color: #ff10e1; /* purple */
}

way[building]:new
{
    dashes-background-color: #0000ff; /* blue */
}

Styles_NewModifiedBuildings-style.mapcss, Styles_NewModifiedBuildings.zip

Last modified 13 days ago Last modified on 2024-04-20T16:50:55+02:00
Note: See TracWiki for help on using the wiki.