MAPPE DELLA SARDEGNA
sardegnamappe api  ›  api documentation  ›  classe
Class framework.widgets.search.FeatureInfoPanel


Extends Ext.form.ComboBox.
A Panel designed to hold WMS GetFeatureInfo (GFI) data for one or more WMS layers.
Defined in: FeatureInfoPanel.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A Panel designed to hold WMS GetFeatureInfo (GFI) data for one or more WMS layers.
Field Summary
Field Attributes Field Name and Description
 
api: config[discardStylesForDups] In case the same Layer is present multiple times, request only once without any STYLES= parameter.
 
api: config[displayPanel] A configured map or a configuration object
 
api: config[displayPanels] String array of types of Panels to display GFI info in, default value is ['Grid'], a grid table.
 
api: config[drillDown] Show features from all visible layers that are queryable.
 
api: config[exportFormats] Array of document formats to be used when exporting the content of a GFI response.
 
api: config[featureSelection] Should the feature geometries that are shown be selectable in grid and map? Default ``true``.
 
api: config[hiddenLayers] show feature for hidden layers.
 
api: config[hover] Show features on hovering.
 
Image icon button.
 
api: config[infoFormat] Default GFI INFO_FORMAT parameter, may be overruled per Layer object infoFormat WMS param.
 
api: config[lastEvt] A configured map or a configuration object
 
api: config[layer] The layer to get feature information from.
 
map
api: config[map] A configured map or a configuration object
 
api: config[maxFeatures] Default GFI MAX_FEATURES parameter.
 
api: config[olControl] A configured map or a configuration object
 
pop
api: config[pop]
 
api: config[showGeometries] Should the feature geometries be shown? Default ``true``.
 
api: config[showTopToolbar] Show the toolbar with object count, clear and export buttons.
 
tb
api: config[tb] A configured map or a configuration object
 
api: title Default title of the panel.
 
api: config[zoomToDataExtent] Zoom to layer data extent when loaded ?.
Class Detail
framework.widgets.search.FeatureInfoPanel()
A Panel designed to hold WMS GetFeatureInfo (GFI) data for one or more WMS layers.
Field Detail
{Boolean} discardStylesForDups
api: config[discardStylesForDups] In case the same Layer is present multiple times, request only once without any STYLES= parameter. Default is ``false``.

{Boolean} displayPanel
api: config[displayPanel] A configured map or a configuration object

{String Array} displayPanels
api: config[displayPanels] String array of types of Panels to display GFI info in, default value is ['Grid'], a grid table. Other values are 'XML' and 'Tree'. If multiple display values are given a menu will be shown to switch display types.

{Boolean} drillDown
api: config[drillDown] Show features from all visible layers that are queryable.

{String Array} exportFormats
api: config[exportFormats] Array of document formats to be used when exporting the content of a GFI response. This requires the server-side CGI script ``framework.cgi`` to be installed. Exporting results in a download of a document with the contents of the (Grid) Panel. For example when 'XLS' is configured, exporting will result in the Excel (or compatible) program to be started with the GFI data in an Excel worksheet. Option values are 'CSV' and/or 'XLS', , 'GMLv2', 'GeoJSON', 'WellKnownText' default is, ``null``, meaning no export (results in no export menu). The value ['CSV', 'XLS'] configures a menu to choose from a ``.csv`` or ``.xls`` export document format.

{Boolean} featureSelection
api: config[featureSelection] Should the feature geometries that are shown be selectable in grid and map? Default ``true``.

{Boolean} hiddenLayers
api: config[hiddenLayers] show feature for hidden layers.

{Boolean} hover
api: config[hover] Show features on hovering.

{String} iconButton
Image icon button.

{String} infoFormat
api: config[infoFormat] Default GFI INFO_FORMAT parameter, may be overruled per Layer object infoFormat WMS param. If not set the value ``application/vnd.ogc.gml`` will be used.

{Object} lastEvt
api: config[lastEvt] A configured map or a configuration object

{String} layer
api: config[layer] The layer to get feature information from. Parameter value will be ``""`` if not set. If not set, all visible layers of the map will be searched. In case the drillDown parameter is ``false``, the topmost visible layer will searched.

{OpenLayers.Map or Object} map
api: config[map] A configured map or a configuration object

{int} maxFeatures
api: config[maxFeatures] Default GFI MAX_FEATURES parameter. Will be ``5`` if not set.

{Object Openlayers.Control} olControl
api: config[olControl] A configured map or a configuration object

pop
api: config[pop]

{Boolean} showGeometries
api: config[showGeometries] Should the feature geometries be shown? Default ``true``.

{Boolean} showTopToolbar
api: config[showTopToolbar] Show the toolbar with object count, clear and export buttons. Default is ``false``.

{Object} tb
api: config[tb] A configured map or a configuration object

{String} title
api: title Default title of the panel. If not set the value ``Feature Info`` will be used.

{Boolean} zoomToDataExtent
api: config[zoomToDataExtent] Zoom to layer data extent when loaded ?.
© 2013 Regione Autonoma della Sardegna