Mercurial > mxd2map
diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 332:da60e3ac2b5d
Fix getLabel calls to work wiht mapscript 6.2 api
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 22 Oct 2012 17:39:25 +0200 |
parents | 5e7e6d99f997 |
children | 4cf94b919725 |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java Mon Oct 22 17:38:01 2012 +0200 +++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java Mon Oct 22 17:39:25 2012 +0200 @@ -720,7 +720,7 @@ String layerType) { //Get the label object. Each class has a predefined labelobject. - labelObj label = co.getLabel(); + labelObj label = co.getLabel(0); //Get the label text symbol attributes from DOM. Element symbol = (Element)labelElement.getFirstChild();