[Mapbender-commits] r2882 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Aug 19 06:33:53 EDT 2008
Author: nimix
Date: 2008-08-19 06:33:53 -0400 (Tue, 19 Aug 2008)
New Revision: 2882
Modified:
trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
Log:
fix rectangle calculation
Modified: trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php 2008-08-19 09:23:20 UTC (rev 2881)
+++ trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php 2008-08-19 10:33:53 UTC (rev 2882)
@@ -576,7 +576,7 @@
var mapPosYRemovePix = mapPos[1] - buffer;
var realWorld1 = makeClickPos2RealWorldPos("mapframe1",mapPosXRemovePix,mapPosYRemovePix);
var realWorld2 = makeClickPos2RealWorldPos("mapframe1",mapPosXAddPix,mapPosYRemovePix);
- var realWorld3 = makeClickPos2RealWorldPos("mapframe1",mapPosXAddPix,mapPosYRemovePix);
+ var realWorld3 = makeClickPos2RealWorldPos("mapframe1",mapPosXAddPix,mapPosYAddPix);
var realWorld4 = makeClickPos2RealWorldPos("mapframe1",mapPosXRemovePix,mapPosYAddPix);
for(var i=0; i<js_wfs_conf_id.length; i++){
var srs = wfs_config[js_wfs_conf_id[i]]['featuretype_srs'];
Modified: trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php 2008-08-19 09:23:20 UTC (rev 2881)
+++ trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php 2008-08-19 10:33:53 UTC (rev 2882)
@@ -961,7 +961,7 @@
var mapPosYRemovePix = mapPos[1] - buffer;
var realWorld1 = parent.makeClickPos2RealWorldPos("mapframe1",mapPosXRemovePix,mapPosYRemovePix);
var realWorld2 = parent.makeClickPos2RealWorldPos("mapframe1",mapPosXAddPix,mapPosYRemovePix);
- var realWorld3 = parent.makeClickPos2RealWorldPos("mapframe1",mapPosXAddPix,mapPosYRemovePix);
+ var realWorld3 = parent.makeClickPos2RealWorldPos("mapframe1",mapPosXAddPix,mapPosYAddPix);
var realWorld4 = parent.makeClickPos2RealWorldPos("mapframe1",mapPosXRemovePix,mapPosYAddPix);
andConditions += "<Intersects><ogc:PropertyName>";
for (var j=0; j < el.length; j++) {
More information about the Mapbender_commits
mailing list