Opened 11 years ago
Last modified 6 years ago
#9920 new enhancement
make plus sign between two nodes of a line changeable with macss mappaint style
Reported by: | Klumbumbus | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core mappaint | Version: | |
Keywords: | mapcss midpoint | Cc: | lists@… |
Description
It would be nice if one can modify the plus sign which is in the middle of two nodes of a line with a mapcss mappaint style. E.g. change size, change colour, hide,... I don't know if this a big deal, because it seems that this is somewhere deep in the core?
Without the JOSM internal mappaint style and with the mapcss code
canvas {default-points: false; default-lines: false;}
everything is hidden except the plus signs.
I would like to modify the plus sign in the style Styles/Coloured_Streets. I just made an update which improves the view on lower zoom levels. Though the plus signs are still a bit distracting as you can see on this example image.
Attachments (0)
Change History (4)
comment:1 by , 11 years ago
Component: | External mappaint style → Core mappaint |
---|---|
Keywords: | mapcss added |
comment:2 by , 10 years ago
Cc: | added |
---|
comment:3 by , 9 years ago
I'm also interested in this. On some styles and working (light) environments, I can't detect the small yellow crosses :(
comment:4 by , 6 years ago
Keywords: | midpoint added |
---|
See https://help.openstreetmap.org/questions/67083/how-to-change-colorsize-of-the-midpoint-in-my-josm-map-paint-style for a partial workaround.
Those "virtual nodes" are drawn in
org.openstreetmap.josm.data.osm.visitor.paint.AbstractMapRenderer#drawVirtualNodes
. Drawing can be disabled by settingmappaint.node.virtual-size
to0
.A way to change the behavior via MapCSS has to be found …