comparison 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
comparison
equal deleted inserted replaced
127:5ba8bf865dc7 128:1616622a8c8d
144 Element layerElement = (Element)list.item(i); 144 Element layerElement = (Element)list.item(i);
145 layerObj layer = new layerObj(map); 145 layerObj layer = new layerObj(map);
146 146
147 //The layer name. 147 //The layer name.
148 layer.setName(layerElement.getAttribute("name")); 148 layer.setName(layerElement.getAttribute("name"));
149 layer.setMetaData("wms_title", layerElement.getAttribute("name"));
149 150
150 //The layer status. 151 //The layer status.
151 String stat = layerElement.getAttribute("status"); 152 String stat = layerElement.getAttribute("status");
152 if (stat.equals("on")) { 153 if (stat.equals("on")) {
153 layer.setStatus(1); 154 layer.setStatus(1);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)