[Mapbender-commits] r3930 - trunk/mapbender/conf
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed May 6 04:50:16 EDT 2009
Author: verenadiewald
Date: 2009-05-06 04:50:16 -0400 (Wed, 06 May 2009)
New Revision: 3930
Modified:
trunk/mapbender/conf/wfs_additional_spatial_search.conf
Log:
http://trac.osgeo.org/mapbender/ticket/446
Modified: trunk/mapbender/conf/wfs_additional_spatial_search.conf
===================================================================
--- trunk/mapbender/conf/wfs_additional_spatial_search.conf 2009-05-06 08:48:49 UTC (rev 3929)
+++ trunk/mapbender/conf/wfs_additional_spatial_search.conf 2009-05-06 08:50:16 UTC (rev 3930)
@@ -1,3 +1,9 @@
+// --------------------------------------------------------
+//
+// Settings of spatial request buttons
+//
+// --------------------------------------------------------
+
/**
* definition of buttons for spatialRequest
*
@@ -2,4 +8,5 @@
* [@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} title for the button
* [@param {string} filteroption type of filter for search (values: "intersects" or "within"), used for buttons buttonRectangle and buttonPolygon
@@ -12,30 +19,99 @@
var buttonPoint = {"status":1, "img":"select_point_off.png","title":"<?php echo _mb("select by point");?>"};
var buttonExtent = {"status":1,"img":"select_extent_off.png","title":"<?php echo _mb("select by extent");?>"};
+/**
+ * directory that contains the buttons mentioned above
+ */
+var buttonWfs_imgdir = "../img/button_gray/";
+
+/**
+ * z-Index of the buttons mentioned above
+ */
+var buttonWfs_zIndex = 10;
+
+// --------------------------------------------------------
+//
+// General WFS request settings
+//
+// --------------------------------------------------------
+
+/**
+ * This is the buffer around query points for spatial requests (in pixel)
+ */
var mb_wfs_tolerance = 8;
+/**
+ * If spatialRequest is set, show this message
+ */
var spatialRequestIsSetMessage = '<?php echo _mb("Spatial filter is set.");?>';
+
+/**
+ * Label of the clearFilter-Button
+ */
var clearFilterButtonLabel = '<?php echo _mb("new");?>';
+/**
+ * If no results are found, show this message
+ */
var noResultMsg = '<?php _mb("No result");?>';
-var buttonWfs_imgdir = "../img/button_gray/";
-var buttonWfs_zIndex = 10;
+/**
+ * Path to the server-side module that performs the WFS request
+ */
+var wfsResultModulePath = "php/";
+/**
+ * File name of the server-side module that performs the WFS request
+ */
+var wfsResultModuleFilename = "mod_wfs_result.php";
+
+
+// --------------------------------------------------------
+//
+// Result geometry highlight settings
+//
+// --------------------------------------------------------
+
+/**
+ * z-Index of the highlighted geometries
+ */
var generalHighlightZIndex = 90;
+
+/**
+ * Line width of the highlighted geometries in pixel
+ */
var generalHighlightLineWidth = 2;
-var wfsResultModulePath = "php/";
-var wfsResultModuleFilename = "mod_wfs_result.php";
+/**
+ * Title of the result popup
+ */
+var searchPopupTitle = '<?php echo _mb("Search results");?>';
-var searchPopupTitle = '<?php echo _mb("Search results");?>';
+/**
+ * Width and height of the result popup (in pixel)
+ */
var searchPopupWidth = 400;
-var searchPopupHeight =250;
+var searchPopupHeight = 250;
+
+/**
+ * Absolute position of the result popup (in pixel)
+ */
var searchPopupX = 750;
var searchPopupY = 80;
+/**
+ * Title of the result details popup
+ */
var detailPopupTitle = '<?php echo _mb("Details");?>';
+
+/**
+ * Width and height of the result details popup (in pixel)
+ */
var detailPopupWidth = 400;
var detailPopupHeight = 200;
+
+/**
+ * Absolute position of the result details popup (in pixel)
+ */
var detailPopupX = 750;
var detailPopupY = 410;
More information about the Mapbender_commits
mailing list