[MXD2map-commits] r295:08723e89b56b
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Mon Sep 3 17:26:12 CEST 2012
details: http://hg.intevation.org/geospatial/mxd2map/rev/08723e89b56b
changeset: 295:08723e89b56b
user: Andre Heinecke <aheinecke at intevation.de>
date: Mon Sep 03 17:21:40 2012 +0200
description:
Set the Angle Binding if available
diffstat:
src/java/de/intevation/mxd/writer/MarkerStyleWriter.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 8079b2acca67 -r 08723e89b56b src/java/de/intevation/mxd/writer/MarkerStyleWriter.java
--- 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);
More information about the MXD2map-commits
mailing list