<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2012-12-18 09:02, Jo wrote :<br>
</div>
<blockquote
cite="mid:CAJ6DwMAuo9RScox_mzDZ1GL7FQ5rt6shdvo1JkXvDuECedag8A@mail.gmail.com"
type="cite">
<div class="gmail_quote">2012/12/18 A.Pirard.Papou <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:A.Pirard.Papou@gmail.com" target="_blank">A.Pirard.Papou@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi,<br>
<br>
A question about CSS, maybe for JOSM Jo?<br>
<br>
The following CSS, adapt to your taste, are very useful
because they make nodes very clear when you tag at high zoom
and discreet when you navigate at low zoom.<br>
node|z1-17 { symbol-shape: square; symbol-fill-opacity: 0;
symbol-size: 1; z-index:-1}<br>
node|z18- { symbol-shape: square; symbol-stroke-color:
navy; symbol-fill-color: rosybrown; symbol-size:8;
z-index:1}<br>
(Windows>Map paint styles and Edit>Preferences>Grid
icon>Map paint styles)<br>
<br>
Questions: is there a way to:<br>
<ul>
<li>make the hair-cross (aka virtual node) in the middle
of a way more visible </li>
<li>prevent the cursor turning to a hand that's hiding the
dot it's dragging<br>
</li>
</ul>
<table>
<tbody>
<tr>
<td valign="top"><br>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
<div><br>
I don't think those virtual nodes or the change of appearance
of the mouse pointer can be controlled by mapcss. Those are
features of JOSM and to change their behaviour or appearance
would involve changing the JAVA source code of JOSM.<br>
It's open source software, so this is not impossible to do,
but it's a lot less trivial than creating a mapcss style
sheet.<br>
<br>
Jo <br>
</div>
</div>
<br>
</blockquote>
Thanks. OK Jo. I got this from a case and I replied what applies to
your reply too.<br>
<br>
<div class="moz-cite-prefix">On 2012-12-18 08:53, JOSM wrote :<br>
</div>
<blockquote
cite="mid:063.c271428ff149638abd257403ee71e525@josm.openstreetmap.de"
type="cite">
<pre wrap="">#7887: unobtrusive node squares
Comment (by stoecker):
> make the cross in the middle of a way more visible
There should be a hidden setting to define its size. I suggest to search
for "virtual" in expert settings.</pre>
</blockquote>
Right, thanks Dirk, mappaint.node.virtual-size=8.<br>
But in fact, the problem is more the color than the size.<br>
On black, the yellow cross is visible all-right.<br>
But on a white background, it's almost invisible whatever its size.<br>
As it's a general issue with that background, the best idea is to
change it.<br>
Getting it transparent is not a solution, its black lines wouldn't
show on black.<br>
Only thing to do is to invert all the background colors.<br>
This would solve all the color problems sort of by definition.<br>
I found this:<br>
<ul>
<li>invert colors<br>
</li>
</ul>
*::* {<br>
color: eval(rgb(1 - red(prop(color)), 1 - green(prop(color)), 1
- blue(prop(color))));<br>
fill-color: eval(rgb(1 - red(prop(fill-color)), 1 -
green(prop(fill-color)), 1 - blue(prop(fill-color))));<br>
}<br>
<br>
But it inverts the foreground OSM layer.<br>
Anything similar for the background?<br>
<br>
Cheers, <br>
<br>
<table>
<tbody>
<tr>
<td valign="top">André.</td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>