Andrew O. Shadoura wrote:
Hello.
On Sunday 11 July 2010 20:25:57 Sebastian Klein wrote:
In Java:
draw thinnest: width=0; ...
don't draw: (Just don't draw it.)
In CSS/MapCSS:
draw thinnest: width : thinnest;
don't draw: width : 0;
I'm strongly against giving 0 any special meaning at all. 0 should be just 0,
and nothing else. If the width of some feature is zero, we don't draw it.
+1
But it *has* a special meaning in Java and I never suggested it should
be the same "syntax" in MapCSS. That's the reason for introducing a new
keyword...
Also, I'm against "thinnest" constant, as having this constant means we can
have different rendering depending on dpi and renderer's understanding of
thinnest.
That's the idea of the keyword. The way is so unimportant that it should
be barely visible.
I think we may have "media" option in @import statement so style author can
specify the exact width of features depending on media type. Or, we can have
"dpi" constant available to eval(). Or maybe both.
OK, let's wait till my implementation is up and running. Maybe it has
sorted itself out by then. ;)
Sebastian
_______________________________________________
Mapcss mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/mapcss