[Mapbender-commits] r1889 - trunk/mapbender/conf
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Dec 5 06:38:09 EST 2007
Author: verenadiewald
Date: 2007-12-05 06:38:04 -0500 (Wed, 05 Dec 2007)
New Revision: 1889
Modified:
trunk/mapbender/conf/wfs_default.conf
Log:
added additional parameter for buttonRectangle and buttonPolygon to switch between filter options intersects and within
Modified: trunk/mapbender/conf/wfs_default.conf
===================================================================
--- trunk/mapbender/conf/wfs_default.conf 2007-12-05 09:49:55 UTC (rev 1888)
+++ trunk/mapbender/conf/wfs_default.conf 2007-12-05 11:38:04 UTC (rev 1889)
@@ -1,5 +1,15 @@
-var buttonRectangle = {"status":1, "x":750, "y":10, "img":"select_rectangle_off.png"};
-var buttonPolygon = {"status":1, "x":780, "y":10, "img":"select_polygon_off.png"};
+/**
+ * definition of buttons for spatialRequest
+ *
+ * [@param {integer} status show this button (value is 1 or 0)
+ * [@param {integer} x position left
+ * [@param {integer} y position top
+ * [@param {string} img image for the button
+ * [@param {string} filteroption type of filter for search (values: "intersects" or "within"), used for buttons buttonRectangle and buttonPolygon
+ */
+
+var buttonRectangle = {"status":1, "x":750, "y":10, "img":"select_rectangle_off.png","filteroption":"intersects"};
+var buttonPolygon = {"status":1, "x":780, "y":10, "img":"select_polygon_off.png","filteroption":"intersects"};
var buttonPoint = {"status":1, "x":810, "y":10, "img":"select_point_off.png"};
var buttonExtent = {"status":1, "x":840, "y":10, "img":"select_extent_off.png"};
var buttonDialogue = {"status":1, "x":870, "y":10, "img":"select_choose_off.png"};
More information about the Mapbender_commits
mailing list