== MinMaxNodes This is a simple mapstyle to enable minimal (min) or maximal (max) node sizes, compared to the default size defined by JOSM. == Use cases - **Max** nodes are handy when eg the mouse cursor is hard to control. It is now easier to grab the node to move it or do otherwise. - **Min** nodes are ideal when it is desirable to make them less visible. Eg to get a more clean overview of a large group of closely located buildings. == Usage Right click the paintstyle in the Map Paint Styles listing. There are 2 options: - **Min** - **Max** When both options are selected at the same time the default node size is enabled. == The code {{{ #!style type="mapcss"` meta { title: "MinMaxNodes"; description: "A simple mapstyle to enable minimal (min) or maximal (max) node sizes, compared to the default size defined by JOSM"; version: "0.1.[[revision]]_[[date]]"; author: "Martien, osm username martien-176 (formerly martien-vdg)"; link: "https://josm.openstreetmap.de/wiki/Styles/MinMaxNodes"; } settings::node_width_group { label: Both options en/disabled = default width; } setting::bigger_node_width { type: boolean; label: tr("Max"); default: true; group: "node_width_group"; } setting::smaller_node_width { type: boolean; label: tr("Min"); default: true; group: "node_width_group"; } node { symbol-shape: eval( (setting("bigger_node_width") && setting("smaller_node_width")) || (!setting("bigger_node_width") && !setting("smaller_node_width")) ? square : circle ); symbol-size: eval( setting("bigger_node_width") && !setting("smaller_node_width") ? 20 : !setting("bigger_node_width") && setting("smaller_node_width") ? 0.1 : 3 ); } }}}