[Mapcss] [Sebastian Spaeth] text-offset
Komяpa
me at komzpa.net
Thu Jul 22 23:29:24 BST 2010
> 1) Make text-offset be relative to the text extents. So a text-offset:1,
> leads to text appearing below the node, text-offset:0 centers it and
> text-offset:-1 has it appearing above the node (even when multi-line
> text).
I think the best is aproach used in mapnik:
http://trac.mapnik.org/wiki/TextSymbolizer
vertical_alignment Position of label relative to point position ("top"
(label on top of point), "middle", "bottom") default is "middle" for
dy=0, "bottom" for dy>0, "top" for dy<0
Surely we should find more CSSish names for that.
--
Komяpa aka Darafei Praliaskouski
xmpp:me at komzpa.net mailto:me at komzpa.net
More information about the Mapcss
mailing list