Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Styles/MinMaxNode
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
== 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 {{{ #!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 = 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 ); } }}}
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.