diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 128:1616622a8c8d

Insert metadata for layer title for getCapabilities request.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 20 Jun 2011 12:09:36 +0200
parents 5ba8bf865dc7
children 0b119169618f
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Mon Jun 20 11:35:40 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Mon Jun 20 12:09:36 2011 +0200
@@ -146,6 +146,7 @@
 
             //The layer name.
             layer.setName(layerElement.getAttribute("name"));
+            layer.setMetaData("wms_title", layerElement.getAttribute("name"));
 
             //The layer status.
             String stat = layerElement.getAttribute("status");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)