diff gnv-artifacts/doc/conf/maptemplates/layer_polygon.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 f08908d4df50
children a4e490e0af5b
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/maptemplates/layer_polygon.vm	Thu May 27 08:48:16 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/layer_polygon.vm	Thu May 27 16:43:00 2010 +0000
@@ -1,9 +1,13 @@
 LAYER
-    NAME "$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
+
     CLASS
         NAME "Layer"
         STYLE

http://dive4elements.wald.intevation.org