comparison 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
comparison
equal deleted inserted replaced
1875:4fb81eb8b45b 1876:dd467951335c
15 DUMP TRUE 15 DUMP TRUE
16 #if( $LAYER.getGroup() ) 16 #if( $LAYER.getGroup() )
17 GROUP "$LAYER.getGroup()" 17 GROUP "$LAYER.getGroup()"
18 #end 18 #end
19 19
20 #if ( $LAYER.getLabelItem() )
21 LABELITEM $LAYER.getLabelItem()
22 #end
23
20 METADATA 24 METADATA
21 "wms_title" "$LAYER.getTitle()" 25 "wms_title" "$LAYER.getTitle()"
22 "gml_include_items" "all" 26 "gml_include_items" "all"
23 #if ( $LAYER.getGroupTitle() ) 27 #if ( $LAYER.getGroupTitle() )
24 "wms_group_title" "$LAYER.getGroupTitle()" 28 "wms_group_title" "$LAYER.getGroupTitle()"
32 NAME "" 36 NAME ""
33 STYLE 37 STYLE
34 SIZE 5 38 SIZE 5
35 OUTLINECOLOR "#000000" 39 OUTLINECOLOR "#000000"
36 END 40 END
41 #if ( $LAYER.getLabelItem() )
42 LABEL
43 ANGLE auto
44 SIZE 10
45 COLOR "#000000"
46 TYPE truetype
47 FONT LiberationSans-Italic
48 POSITION ur
49 OFFSET 2 2
50 END
51 #end
37 END 52 END
38 #end 53 #end
39 END 54 END

http://dive4elements.wald.intevation.org