Modify

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.

Change History (4)

comment:1 by simon04, 11 years ago

Component: External mappaint styleCore mappaint
Keywords: mapcss added

Those "virtual nodes" are drawn in org.openstreetmap.josm.data.osm.visitor.paint.AbstractMapRenderer#drawVirtualNodes. Drawing can be disabled by setting mappaint.node.virtual-size to 0.

A way to change the behavior via MapCSS has to be found …

comment:2 by Aun Johnsen <lists@…>, 11 years ago

Cc: lists@… added

comment:3 by TobWen, 9 years ago

I'm also interested in this. On some styles and working (light) environments, I can't detect the small yellow crosses :(

Last edited 9 years ago by TobWen (previous) (diff)

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.