gxp.QueryPanel¶
-
class
gxp.QueryPanel(config)¶ Create a panel for assembling and issuing feature requests.
Config Options¶
Configuration properties in addition to those listed for Ext.Panel.
-
attributeQuery BooleanInitial state of “query by attribute” checkbox. Default is false.
-
caseInsensitiveMatch BooleanShould Comparison Filters for Strings do case insensitive matching? Default is"false".
-
layerStore Ext.data.StoreA store with records representing each WFS layer to be queried. Records must havetitle,name(feature type),namespace(namespace URI),url(wfs url), andschema(schema url) fields.
-
layout StringDefaults to “form.”
-
likeSubstring BooleanAllow substrings to be entered with LIKE comparisons? These strings will be wrapped in wildcards. Default is"false".
-
map OpenLayers.MapPanelThe map to take the spatial extent for the spatialQuery from. Required.
-
maxFeatures NumberOptional limit for number of features requested in a query. No limit set by default.
-
spatialQuery BooleanInitial state of “query by location” checkbox. Default is true.
-
wildCardString StringString to be pre- and postfixed for substrings in LIKE Comparison Filters.
Public Properties¶
Public properties in addition to those listed for Ext.Panel.
-
QueryPanel.attributeQuery¶ BooleanQuery by attributes.
-
QueryPanel.attributeStore¶ GeoExt.data.AttributeStoreThe attributes associated with the currently selected layer.
-
QueryPanel.geometryType¶ String(Multi)?(Point|Line|Polygon|Curve|Surface|Geometry) The geometry type of features of the selected layer. If the layer has multiple geometry fields, the type of the first geometry field will be returned.
-
QueryPanel.spatialQuery¶ BooleanQuery by extent.
Public Methods¶
Public methods in addition to those listed for Ext.Panel.
-
QueryPanel.getFilter()¶ Get the filter representing the conditions in the panel. Returns false if neither spatial nor attribute query is checked.
-
QueryPanel.query()¶ Issue a request for features. Should not be called until the “ready” event has fired. If called before ready, no query will be issued.