Mercurial > mxd2map
diff src/java/de/intevation/mxd/reader/SimpleRendererReader.java @ 68:686a88eb531d
Added multi layer fill symbol reader.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 26 May 2011 12:30:07 +0200 |
parents | e00deee347a5 |
children | 260748e3d08f |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/SimpleRendererReader.java Wed May 25 15:48:55 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/SimpleRendererReader.java Thu May 26 12:30:07 2011 +0200 @@ -10,6 +10,7 @@ import com.esri.arcgis.display.SimpleFillSymbol; import com.esri.arcgis.display.MultiLayerMarkerSymbol; import com.esri.arcgis.display.MultiLayerLineSymbol; +import com.esri.arcgis.display.MultiLayerFillSymbol; import com.esri.arcgis.carto.SimpleRenderer; import org.w3c.dom.Element; @@ -111,6 +112,12 @@ isr.setUtil(util); isr.read(); } + else if(symbol instanceof MultiLayerFillSymbol) { + ISymbolReader isr = new MultiLayerFillSymbolReader (symbol); + isr.setParent(rendererElement); + isr.setUtil(util); + isr.read(); + } else { System.out.println("No known Symbol type: " + symbol.getClass().toString()); }