diff src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java @ 63:5c5ef5768893

Added MultiLayerLineSymbolReader.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 24 May 2011 16:51:01 +0200
parents e00deee347a5
children c73647bd71c0
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java	Tue May 24 14:16:25 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java	Tue May 24 16:51:01 2011 +0200
@@ -9,6 +9,7 @@
 import com.esri.arcgis.display.ISymbol;
 import com.esri.arcgis.display.MultiLayerLineSymbol;
 import com.esri.arcgis.display.SimpleLineSymbol;
+import com.esri.arcgis.display.MarkerLineSymbol;
 import com.esri.arcgis.display.esriSimpleMarkerStyle;
 import com.esri.arcgis.display.IRgbColor;
 import com.esri.arcgis.display.RgbColor;
@@ -84,6 +85,12 @@
                     sreader.setUtil(util);
                     sreader.read();
                 }
+                else if(sym instanceof MarkerLineSymbol) {
+                    ISymbolReader sreader = new MarkerLineSymbolReader(sym);
+                    sreader.setParent(renderer);
+                    sreader.setUtil(util);
+                    sreader.read();
+                }
                 else {
                     logger.debug("The type of " + sym.getClass().toString() +
                                  " is not implemented!");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)