Mercurial > mxd2map
diff src/java/de/intevation/mxd/reader/SimpleRendererReader.java @ 46:34a93dad7604
Added MultiLayerMarkerSymbol(ArrowMarkerSymbol) support.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 18 Apr 2011 17:51:33 +0200 |
parents | 9b5fb5e5914d |
children | 37ff67a4991d |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/SimpleRendererReader.java Mon Apr 18 16:03:07 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/SimpleRendererReader.java Mon Apr 18 17:51:33 2011 +0200 @@ -8,6 +8,7 @@ import com.esri.arcgis.display.ISymbol; import com.esri.arcgis.display.SimpleMarkerSymbol; import com.esri.arcgis.display.SimpleFillSymbol; +import com.esri.arcgis.display.MultiLayerMarkerSymbol; import com.esri.arcgis.carto.SimpleRenderer; import org.w3c.dom.Element; @@ -93,6 +94,15 @@ isr.setUtil(util); isr.read(); } + else if(symbol instanceof MultiLayerMarkerSymbol) { + ISymbolReader isr = new MultiLayerMarkerSymbolReader(symbol); + isr.setParent(rendererElement); + isr.setUtil(util); + isr.read(); + } + else { + System.out.println("No known Symbol type: " + symbol.getClass().toString()); + } return layer; } catch(Exception e) {