diff gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm @ 1057:04967dc9c83f

The title of a layer can be changed by the user. Product 'Layer' and 'Horizontalschnitt' now use the same code path to write the meta information file. (issue198) gnv-artifacts/trunk@1134 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 27 May 2010 16:43:00 +0000
parents 452fad121560
children a4e490e0af5b
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm	Thu May 27 08:48:16 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm	Thu May 27 16:43:00 2010 +0000
@@ -1,8 +1,12 @@
 LAYER
-    NAME "$info.getTitle()"
-    GROUP "$info.getTitle()"
+    NAME "$info.getName()"
     TYPE $info.getType()
-    DATA "${info.getName()}/${info.getData()}"
+    DATA "$info.getData()"
     STATUS $info.getStatus()
+
+    METADATA
+        "wms_title" "$info.getTitle()"
+    END
+
     #include("water-temperature_polygons.class.vm")
 END

http://dive4elements.wald.intevation.org