[fusion-commits] r2146 - sandbox/jxlib-3.0/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Apr 16 10:29:36 EDT 2010


Author: madair
Date: 2010-04-16 10:29:35 -0400 (Fri, 16 Apr 2010)
New Revision: 2146

Modified:
   sandbox/jxlib-3.0/widgets/AddWMSLayer.js
Log:
update reference to map projection

Modified: sandbox/jxlib-3.0/widgets/AddWMSLayer.js
===================================================================
--- sandbox/jxlib-3.0/widgets/AddWMSLayer.js	2010-04-16 13:35:05 UTC (rev 2145)
+++ sandbox/jxlib-3.0/widgets/AddWMSLayer.js	2010-04-16 14:29:35 UTC (rev 2146)
@@ -177,7 +177,7 @@
             layername: cb.layername,
             group: cb.group,
             owstitle: cb.owstitle,
-            srs: map.projCode.indexOf("APP-DEF-PROJ") < 0 ? map.projCode:'EPSG:4326',
+            srs: map.oLayerOL.projection.projCode,
             imageFormat: cb.imageFormat,
             servername: cb.servername,
             wmsservicetitle: cb.wmsservicetitle,



More information about the fusion-commits mailing list