comparison src/java/de/intevation/mxd/writer/MarkerStyleWriter.java @ 295:08723e89b56b

Set the Angle Binding if available
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 03 Sep 2012 17:21:40 +0200
parents 6b80e46b8f38
children
comparison
equal deleted inserted replaced
294:8079b2acca67 295:08723e89b56b
80 catch(NumberFormatException nfe) { 80 catch(NumberFormatException nfe) {
81 logger.warn("Error setting angle."); 81 logger.warn("Error setting angle.");
82 style.setAngle(0.0); 82 style.setAngle(0.0);
83 } 83 }
84 } 84 }
85 if(symbolElement.hasAttribute("angleBinding")) {
86 style.setBinding(2,
87 symbolElement.getAttribute("angleBinding"));
88 }
85 if(symbolElement.hasAttribute("color")) { 89 if(symbolElement.hasAttribute("color")) {
86 String c = symbolElement.getAttribute("color"); 90 String c = symbolElement.getAttribute("color");
87 Color col = Color.decode(c); 91 Color col = Color.decode(c);
88 colorObj color = new colorObj( 92 colorObj color = new colorObj(
89 col.getRed(), 93 col.getRed(),
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)