Description
A result list for featureCollections
Files
- http/javascripts/mod_ResultList.js
SQL
INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
e_mb_mod, e_target, e_requires, e_url)
VALUES('<gui_id>','resultList',2,1,'','Result List','div','','',NULL ,NULL
,NULL ,NULL ,NULL
,'','','div','mod_ResultList.js','../../lib/resultGeometryListController.js,
../../lib/resultGeometryListModel.js','','','');
Help
http://www.mapbender.org/ResultList
Maintainer
http://www.mapbender.org/User:Karim Malhas
Parameters
License
Copyright © 2009, Open Source Geospatial Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license. http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
Summary
resultList | A result list for featureCollections |
Functions | |
addGlobalButton | Descriptions: adds a Button to the bottom of the resultList Parameters: buttondef: {Object} an object with five properties, “title”, “type” (either button or select) “classes” (the classes the button should have), “selectoptions” (an array in case the type is select), “callback” |
addPopupButton | Description: adds a Button to the Popupmenu that is displayed when the user clicks an entry in the result list Parameters: buttondef: {Object} an object with two properties: “title” and “callback”, a function that gets the feature that corresponds to the popup as it’s argument |
getSelected | Description: gets all rows from the datatable which are selected Returns: an an array of DOMTableRow |