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.

Attachments (0)

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@…>, 10 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)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Klumbumbus.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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