Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/mapserver/layer.vm Tue Sep 06 15:25:54 2011 +0000 +++ b/flys-artifacts/doc/conf/mapserver/layer.vm Tue Sep 06 17:41:07 2011 +0000 @@ -18,11 +18,17 @@ #end END - CLASS - NAME "Layer" - STYLE - SIZE 5 - COLOR "#66CCFF" - END - END + #if ( !$LAYER.getStyle() ) + #if ( $LAYER.getGroupTitle() ) + #if ( $LAYER.getType() == "POLYGON" ) + #include("barrier_polygons_class.vm") + #else + #include("barrier_lines_class.vm") + #end + #else + #include("wsplgen_class.vm") + #end + #else + $LAYER.getStyle() + #end END