[Mapbender-commits] r8417 - branches/2.7/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jul 5 07:22:19 PDT 2012
Author: astrid_emde
Date: 2012-07-05 07:22:18 -0700 (Thu, 05 Jul 2012)
New Revision: 8417
Modified:
branches/2.7/http/javascripts/map_obj.js
Log:
check epsg for WMS 1.3 with epsg array
Modified: branches/2.7/http/javascripts/map_obj.js
===================================================================
--- branches/2.7/http/javascripts/map_obj.js 2012-07-05 14:18:17 UTC (rev 8416)
+++ branches/2.7/http/javascripts/map_obj.js 2012-07-05 14:22:18 UTC (rev 8417)
@@ -859,7 +859,8 @@
tmp_epsg = this.epsg;
tmp_epsg = tmp_epsg.replace(/EPSG:/g,'');
tmp_epsg = tmp_epsg.replace(/CRS:/g,'');
- if (currentWms.wms_version == "1.3.0" && tmp_epsg >= 4000 && tmp_epsg < 5000){
+ //if (currentWms.wms_version == "1.3.0" && tmp_epsg >= 4000 && tmp_epsg < 5000){
+ if(currentWms.wms_version == "1.3.0" && epsg_axis_order.indexOf(parseInt(tmp_epsg))>= 0){
url += "BBOX=" + tmpExtent.toString() + "&";
}else{
url += "BBOX=" + extent.toString() + "&";
More information about the Mapbender_commits
mailing list