[Mapcss] width: thinnest

Andrew O. Shadoura bugzilla at tut.by
Sun Jul 11 20:39:21 BST 2010


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.

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.

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.

-- 
WBR, Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/mapcss/attachments/20100711/4c554d7e/attachment.pgp>


More information about the Mapcss mailing list