ResultList
From MapbenderWiki
User:Karim Malhas (Module maintainer)
- Version >= 2.7
Contents |
API
english
user story
The ResultList can be used to display featureCollections, for example the results of a GazetteerWFSsearch. Additionally it can be configured to respond to teh User clicking on a feature, or selecting mulitiple features.
usage
Import the following sql, (replacing fields where needed):
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-NAME>','resultList',2,1,,'Result
List','div',,,NULL ,NULL ,NULL ,NULL ,NULL ,,,'div','mod_ResultList.js','../../lib/resultGeometryListController.js,
../../lib/resultGeometryListModel.js','mapframe1',,);
make sure you replace <GUI NAME> with the gui you want to load the SQL into
use these elements to configure your result list
- ResultList_DetailPopup Displays detail information of the clicked feature
- ResultList_Zoom Zooms to the clicked feature
- ResultList_Highlight Highlights the features onmouseover
- ResultList_setVendorSpecific Adds Vendorspecific Parameters to WMS
deutsch
Funktionsumfang
Gebrauchsanweisung
<mit Screenshots!>
</textarea></html>
Element Vars
- infoPopupHeight - var
- infoPopupWidth - var
- maxHighlightedPoints - var
- resultHighlightColor - var
- resultHighlightLineWidth - var
- resultHighlightZIndex - var
- resultListTitle - var
- position - var see the |jquery UI documentation for possible values for 'position'
- Body-Element: resultListCss - file/css
