Mercurial > mxd2map
diff src/java/de/intevation/mxd/writer/LineStyleWriter.java @ 142:f98d2759e494
Merged with Stephans commits.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 27 Jun 2011 16:23:51 +0200 |
parents | 8f30f7e802d6 |
children | b2c5a66022f1 |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/LineStyleWriter.java Fri Jun 24 10:29:44 2011 +0200 +++ b/src/java/de/intevation/mxd/writer/LineStyleWriter.java Mon Jun 27 16:23:51 2011 +0200 @@ -69,7 +69,13 @@ style.setSize((int)Double.parseDouble( symbolElement.getAttribute("size"))); } + String type = symbolElement.getAttribute("type"); + if(type.equals("marker")) { + SymbolWriter sw = new SymbolWriter(this.map, this.cl); + sw.write(symbolElement); + } String name = symbolElement.getAttribute("name"); + style.setSymbolByName(map, name); symbolObj sym = symbolSet.getSymbolByName(name); //The following lines are for dashed and/or dotted lines. @@ -136,13 +142,9 @@ } } - String type = symbolElement.getAttribute("type"); - if(type.equals("marker")) { - style.setSymbolByName(map, name); - SymbolWriter sw = new SymbolWriter(this.map, this.cl); - sw.write(symbolElement); - } + + return false; } }