[Mapbender-commits] r6465 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 29 11:50:55 EDT 2010


Author: kmq
Date: 2010-06-29 15:50:55 +0000 (Tue, 29 Jun 2010)
New Revision: 6465

Modified:
   trunk/mapbender/lib/mb.ui.wfsGazetteer.js
Log:
removed debugger; statement

Modified: trunk/mapbender/lib/mb.ui.wfsGazetteer.js
===================================================================
--- trunk/mapbender/lib/mb.ui.wfsGazetteer.js	2010-06-29 15:50:49 UTC (rev 6464)
+++ trunk/mapbender/lib/mb.ui.wfsGazetteer.js	2010-06-29 15:50:55 UTC (rev 6465)
@@ -181,7 +181,16 @@
 		andConditions.push(OGCORFilter);
 
 		//TODO: spatial filter
+		var geometryConstructor = RequestGeometryConstructor(target);
+		geometryConstructor.getGeometry(this.options.target ,function(target,queryGeom){
+			switch(queryGeom.type){
+				case geomType.line :
+				break;
 
+				default:
+			}
+		});
+
 		var OGCANDFilter = andConditions.length == 1 ? andConditions[0] : "<And>"+ andConditions.join('') +"<and>"; 
 		OGCFilter = "<ogc:filter>" + OGCANDFilter  +"</ogc:filter>";
 		
@@ -203,7 +212,6 @@
 
 	},
 	receivefeaturecollection: function(event,ui){
-		debugger;
 	},
 	_status: function(message){
 		$('.mb-ui-wfsGazetteer-status',$(this.element)).html(message);



More information about the Mapbender_commits mailing list