comparison flys-artifacts/doc/conf/mapserver/layer.vm @ 1135:c8c753931514

Added a fallback mechanism to style mapserver layers as long as the theme mechanism is not implemented for maps (as it is for charts). flys-artifacts/trunk@2656 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 06 Sep 2011 17:41:07 +0000
parents bcf70a452646
children c0fbff11d287
comparison
equal deleted inserted replaced
1134:bcf70a452646 1135:c8c753931514
16 #if ( $LAYER.getGroupTitle() ) 16 #if ( $LAYER.getGroupTitle() )
17 "wms_group_title" "$LAYER.getGroupTitle()" 17 "wms_group_title" "$LAYER.getGroupTitle()"
18 #end 18 #end
19 END 19 END
20 20
21 CLASS 21 #if ( !$LAYER.getStyle() )
22 NAME "Layer" 22 #if ( $LAYER.getGroupTitle() )
23 STYLE 23 #if ( $LAYER.getType() == "POLYGON" )
24 SIZE 5 24 #include("barrier_polygons_class.vm")
25 COLOR "#66CCFF" 25 #else
26 END 26 #include("barrier_lines_class.vm")
27 END 27 #end
28 #else
29 #include("wsplgen_class.vm")
30 #end
31 #else
32 $LAYER.getStyle()
33 #end
28 END 34 END

http://dive4elements.wald.intevation.org