Mercurial > mxd2map
diff 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 |
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);