[fusion-commits] r2662 - trunk/widgets/widgetinfo

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Mar 12 19:58:01 PDT 2013


Author: liuar
Date: 2013-03-12 19:58:01 -0700 (Tue, 12 Mar 2013)
New Revision: 2662

Modified:
   trunk/widgets/widgetinfo/cursorposition.xml
Log:
Submit on behalf of Andy Zhang. Integrate #2640 to trunk.

Set default value of DisplayProjection of widget CursorPosition to null. 
The default value of DisplayProjection widget CursorPosition is EPSG:4326. If we don't change it manually, the cursor position is always displayed in EPSG:4326 format, which is not correct. Now we don't set the default value. The cursor position widget will get projection from map. Then the x, y value of cursor position is consistent with map CS.

Modified: trunk/widgets/widgetinfo/cursorposition.xml
===================================================================
--- trunk/widgets/widgetinfo/cursorposition.xml	2013-03-08 14:31:54 UTC (rev 2661)
+++ trunk/widgets/widgetinfo/cursorposition.xml	2013-03-13 02:58:01 UTC (rev 2662)
@@ -29,7 +29,7 @@
     <Type>string</Type>
     <Label>DisplayProjection</Label>
     <Description>The projection to display mouse coordinates in. This can be an EPSG code (EPSG:XXXX) or a WKT string. This parameter takes precedence over the Units parameter if specified</Description>
-    <DefaultValue>EPSG:4326</DefaultValue>
+    <DefaultValue></DefaultValue>
     <IsMandatory>0</IsMandatory>
   </Parameter>
   <Parameter>



More information about the fusion-commits mailing list