Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/mapserver/db_layer.vm @ 1876:dd467951335c
Added support for labels in Mapserver layers and options to modify its style.
flys-artifacts/trunk@3234 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 11 Nov 2011 09:43:36 +0000 |
parents | e372934f0c42 |
children | b23c956c5aa2 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/mapserver/db_layer.vm Fri Nov 11 07:59:42 2011 +0000 +++ b/flys-artifacts/doc/conf/mapserver/db_layer.vm Fri Nov 11 09:43:36 2011 +0000 @@ -17,6 +17,10 @@ GROUP "$LAYER.getGroup()" #end + #if ( $LAYER.getLabelItem() ) + LABELITEM $LAYER.getLabelItem() + #end + METADATA "wms_title" "$LAYER.getTitle()" "gml_include_items" "all" @@ -34,6 +38,17 @@ SIZE 5 OUTLINECOLOR "#000000" END + #if ( $LAYER.getLabelItem() ) + LABEL + ANGLE auto + SIZE 10 + COLOR "#000000" + TYPE truetype + FONT LiberationSans-Italic + POSITION ur + OFFSET 2 2 + END + #end END #end END