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 an intermediate node size is enabled.
The code
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.3_2026-01-14"; 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 = intermediate 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 ); }
Last modified
23 hours ago
Last modified on 2026-01-14T21:01:55+01:00
Note:
See TracWiki
for help on using the wiki.


