Komяpa wrote:
Then, we've got two shortcuts already:
1) text: xxx -> text: eval(tag("xxx"))

This looks recursive somehow... Maybe more like

text: xxx --> real-text: eval(tag("xxx"))

Where real-text would be the rendered text, but it's only an "imaginary" property.

2) anything: [+/-]zzz -> eval(num(prop("anything"))+zzz)

Hm, it should be possible to set an absolute negative z-index for another layer. I'd restrict it to "width" for now.

width: [+/-]zzz -> eval(num(prop("width", "default"))+/-zzz)


Sebastian

_______________________________________________
Mapcss mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/mapcss

Reply via email to