[Mapcss] relative width for overlays
Sebastian Klein
bastikln at googlemail.com
Sun Oct 3 22:33:27 BST 2010
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
More information about the Mapcss
mailing list