[Mapcss] Multi-Value Condition
Jonathan Bennett
openstreetmap at jonno.cix.co.uk
Tue Aug 2 10:27:34 BST 2011
On 02/08/2011 10:02, Malcolm Herring wrote:
> What would be useful would to be able to factorize conditions. So
> instead of:
>
> [<conditionA>][<conditionB>], [<conditionA>][<conditionC>]
>
> use:
>
> [<conditionA>][[<conditionB>], [<conditionC>]]
>
Before getting carried away with adding new stuff, remember that much of
the reason for the language being Map*CSS* is to make it as easy to use
for as many people as possible by reusing as much of CSS's syntax as
possible, and only adding extra stuff when we need to. If we break the
principle of least surprise too often, developers and designers from
outside OSM are going to be turned off.
By all means add bits to MapCSS that plain W3 CSS doesn't have, but make
sure you have a good reason (i.e. you *can't* do this otherwise) before
doing so.
Jonathan
More information about the Mapcss
mailing list