changeset 295:08723e89b56b

Set the Angle Binding if available
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 03 Sep 2012 17:21:40 +0200
parents 8079b2acca67
children 72b85bac29fa
files src/java/de/intevation/mxd/writer/MarkerStyleWriter.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MarkerStyleWriter.java	Mon Sep 03 17:20:48 2012 +0200
+++ b/src/java/de/intevation/mxd/writer/MarkerStyleWriter.java	Mon Sep 03 17:21:40 2012 +0200
@@ -82,6 +82,10 @@
                 style.setAngle(0.0);
             }
         }
+        if(symbolElement.hasAttribute("angleBinding")) {
+            style.setBinding(2,
+                    symbolElement.getAttribute("angleBinding"));
+        }
         if(symbolElement.hasAttribute("color")) {
             String c = symbolElement.getAttribute("color");
             Color col = Color.decode(c);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)