diff src/java/de/intevation/mxd/writer/LabelStyleWriter.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 b6c0fbae16dc
children
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/LabelStyleWriter.java	Mon Oct 22 17:38:01 2012 +0200
+++ b/src/java/de/intevation/mxd/writer/LabelStyleWriter.java	Mon Oct 22 17:39:25 2012 +0200
@@ -72,7 +72,7 @@
     public boolean write(Element symbolElement) {
         logger.debug("write(Element)");
 
-        cl.getLabel().insertStyle(style, -1);
+        cl.getLabel(0).insertStyle(style, -1);
 
         symbolSetObj symbolSet = map.getSymbolset();
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)