changeset 881:4af1ee86b0b1

Bugfix: #289 Set map units 'm'. flys-client/trunk@2710 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 13 Sep 2011 04:57:47 +0000
parents 22dc88b17253
children d3b4010d2c89
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Tue Sep 13 04:49:10 2011 +0000
+++ b/flys-client/ChangeLog	Tue Sep 13 04:57:47 2011 +0000
@@ -1,3 +1,11 @@
+2011-09-13  Ingo Weinzierl <ingo@intevation.de>
+
+	flys/issue289 (Karte: Messen von Strecken und Flächen in falscher
+	Dimension)
+
+	* src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java: Set
+	  map units 'm'.
+
 2011-09-13  Ingo Weinzierl <ingo@intevation.de>
 
 	flys/issue286 (Karte: Tooltips für die Werkzeugleiste)
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java	Tue Sep 13 04:49:10 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/FloodMap.java	Tue Sep 13 04:57:47 2011 +0000
@@ -32,6 +32,7 @@
         opts.setNumZoomLevels(16);
         opts.setProjection(getRiverProjection());
         opts.setMaxExtent(maxExtent);
+        opts.setUnits("m");
         opts.setMaxResolution(500); // TODO DO THIS ON THE FLY
 
         mapWidget = new MapWidget("510px", "635px", opts);

http://dive4elements.wald.intevation.org