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


Extends Ext.grid.GridPanel,.
A Panel designed to hold WMS GetFeatureInfo (GFI) data for one or more WMS layers.
Defined in: FeatureSearchGridPanel.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[autoConfig] Should the store and grid columns autoconfigure from loaded features?.
 
api: config[basePathResources] path products resources
 
api: config[cartPanel] id cart panel.
 
api: config[columnCapitalize] Should the column names be capitalized when autoconfig is true?
 
api: config[downloadable] ``Boolean`` Should the features in the grid be downloadble? Download can be effected in 3 ways: 1.
 
api: config[exportConfigs] The supported configs for formatting and exporting feature data.
 
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[loadMask]
 
api: config[managerProductPanel] id products panel
 
If it's true there will be added a button to perform "showAerialPhoto" event, otherwise it will be performed using double click on selected row.
 
api: config[separateSelectionLayer] Should selected features be managed in separate overlay Layer (handy for printing) ?.
 
api: config[showGeometries] ``Boolean`` Should the feature geometries be shown? Default ``true``.
 
api: config[showTopToolbar] Should a top toolbar with feature count, clear button and download combo be shown? Default ``true``.
 
api: config[urlGeoNetwork] Url goeNetwork
 
api: config[vectorLayerOptions] Options to be passed on Vector constructors.
 
api: config[zoomLevelPoint] Zoom level when layer is single point feature, default ``10``.
 
api: config[zoomLevelPointSelect] Zoom level for point features when selected, default ``10``.
 
api: config[zoomOnFeatureSelect] Zoom to feature (extent) when selected ?.
 
api: config[zoomOnRowDoubleClick] Zoom to feature (extent) when row is double clicked ?.
 
api: config[zoomToDataExtent] Zoom to layer data extent when loaded ?.
Method Summary
Method Attributes Method Name and Description
 
public: method[cleanWindow] clean screen from windows photo and window feature info
 
getPathImageHR(product, image, hdd)
 
showFoto(url, photoName)
public: method[showFoto] show a photo in a new window
Class Detail
framework.widgets.search.FeatureSearchGridPanel()
A Panel designed to hold WMS GetFeatureInfo (GFI) data for one or more WMS layers.
Field Detail
{Boolean} autoConfig
api: config[autoConfig] Should the store and grid columns autoconfigure from loaded features?.

{String} basePathResources
api: config[basePathResources] path products resources

{String} cartPanel
api: config[cartPanel] id cart panel.

{Boolean} columnCapitalize
api: config[columnCapitalize] Should the column names be capitalized when autoconfig is true?

{Boolean} downloadable
api: config[downloadable] ``Boolean`` Should the features in the grid be downloadble? Download can be effected in 3 ways: 1. via Grid export (CSV and XLS only) 2. downloading the original feature format (GML2) 3. (GeoServer only) requesting the server for a triggered download (all Geoserver WFS formats),

{Object} exportConfigs
api: config[exportConfigs] The supported configs for formatting and exporting feature data. Actual presented download options are configured with exportFormats.

{[object] 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 ``heron.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', 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} loadMask
api: config[loadMask]

{String} managerProductPanel
api: config[managerProductPanel] id products panel

{boolean} openOnButton
If it's true there will be added a button to perform "showAerialPhoto" event, otherwise it will be performed using double click on selected row. Default is true.

{Boolean} separateSelectionLayer
api: config[separateSelectionLayer] Should selected features be managed in separate overlay Layer (handy for printing) ?.

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

{Boolean} showTopToolbar
api: config[showTopToolbar] Should a top toolbar with feature count, clear button and download combo be shown? Default ``true``.

{String} urlGeoNetwork
api: config[urlGeoNetwork] Url goeNetwork

{Object} vectorLayerOptions
api: config[vectorLayerOptions] Options to be passed on Vector constructors.

{Integer} zoomLevelPoint
api: config[zoomLevelPoint] Zoom level when layer is single point feature, default ``10``.

{Integer} zoomLevelPointSelect
api: config[zoomLevelPointSelect] Zoom level for point features when selected, default ``10``.

{Boolean} zoomOnFeatureSelect
api: config[zoomOnFeatureSelect] Zoom to feature (extent) when selected ?.

{Boolean} zoomOnRowDoubleClick
api: config[zoomOnRowDoubleClick] Zoom to feature (extent) when row is double clicked ?.

{Boolean} zoomToDataExtent
api: config[zoomToDataExtent] Zoom to layer data extent when loaded ?.
Method Detail
cleanWindow(url)
public: method[cleanWindow] clean screen from windows photo and window feature info
Parameters:
{String} url
photo

getPathImageHR(product, image, hdd)
Parameters:
product
image
hdd

showFoto(url, photoName)
public: method[showFoto] show a photo in a new window
Parameters:
{String} url
photo
photoName
© 2013 Regione Autonoma della Sardegna