Mercurial > mxd2map
changeset 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 |
files | ChangeLog src/java/de/intevation/mxd/writer/MapScriptWriter.java |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Jun 20 11:35:40 2011 +0200 +++ b/ChangeLog Mon Jun 20 12:09:36 2011 +0200 @@ -1,3 +1,8 @@ +2011-06-20 Raimund Renkert <raimund.renkert@intevation.de> + + * src/java/de/intevation/mxd/writer/MapScriptWriter.java: + Insert metadata for layer title for getCapabilities request. + 2011-06-20 Raimund Renkert <raimund.renkert@intevation.de> * src/java/de/intevation/mxd/writer/MapScriptWriter.java:
--- 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");