diff gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.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 0b1de7e38907
children a4e490e0af5b
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm	Thu May 27 08:48:16 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm	Thu May 27 16:43:00 2010 +0000
@@ -1,9 +1,13 @@
 LAYER
-    NAME "$info.getTitle()_isolines"
-    GROUP "$info.getTitle()"
-    DATA "${info.getName()}/${info.getData()}"
+    NAME "$info.getName()"
+    DATA "$info.getData()"
     TYPE $info.getType()
     STATUS $info.getStatus()
     LABELITEM DESC
+
+    METADATA
+        "wms_title" "$info.getTitle()"
+    END
+
     #include("water-levels_isolines.class.vm")
 END

http://dive4elements.wald.intevation.org