Changes between Initial Version and Version 1 of Styles/NodeBuildings


Ignore:
Timestamp:
2025-05-18T18:32:03+02:00 (10 months ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Styles/NodeBuildings

    v1 v1  
     1
     2== Description
     3The map style "NodeBuildings" helps with viewing node buildings, which are in default paint style and displayed as grey buildings. This style shows node buildings as a dot, with customizable color (Style settings menu).
     4
     5Author of map style: https://www.openstreetmap.org/user/DNL852
     6
     7
     8== Code
     9{{{
     10#!style type="mapcss"
     11
     12meta {
     13    title: "NodeBuildings";
     14    description: "Shows a customizable dot on building nodes.";
     15    version: "1.[[revision]]_[[date]]";
     16    author: "DNL852";
     17}
     18
     19setting::building_dot_color {
     20    type: color;
     21    label: tr("Building dot color");
     22    default: #ff0000;
     23}
     24
     25node[building] {
     26    icon-image: none;
     27}
     28
     29node[building]::building_dot {
     30    symbol-shape: circle;
     31    symbol-size: 6;
     32    symbol-fill-color: setting("building_dot_color");
     33    symbol-stroke-color: setting("building_dot_color");
     34    symbol-stroke-width: 2;
     35    z-index: 100;
     36}
     37
     38}}}
     39
     40https://raw.githubusercontent.com/DwynDwe/JOSM_MM_styles/refs/heads/main/NodeBuildings.mapcss