mapfish.widgets.recenter.DataField

Display a list of elements corresponding to the user input and recenters on the selected element.

Inherits from

Summary
mapfish.widgets.recenter.DataFieldDisplay a list of elements corresponding to the user input and recenters on the selected element.
Constructor
mapfish.widgets.recenter.DataField
Properties
protocol{OpenLayers.Protocol} A protocol instance, if not set in the config passed to the constructor, and if the url option is set, a MapFish protocol is created using the url option.
limit{Number} An integer specifying the maximum number of features the MapFish web service must return, only applies if the protocol option is not set and if the url option is set, defaults to 10.
minChars{Number} An integer specifying the minimum number of chars the combobox should wait the user to type before triggering the search.
fieldLabel{String} The label used in front of the combo box, defaults to null.
displayField{String} The name of the field whose values are displayed in the combo box, mandatory.
queryParam{String} The name of the field used as the filter property.
comboOptions{Object} Options to be passed to the ComboBox constructor.
storeFields{Array} Options to be passed to the GeoExt.data.FeatureReader If none is provided, only passed displayField will be loaded in store

Constructor

mapfish.widgets.recenter.DataField

Parameters

config{Object} The config object Returns: {mapfish.widgets.recenter.DataField}

Properties

protocol

{OpenLayers.Protocol} A protocol instance, if not set in the config passed to the constructor, and if the url option is set, a MapFish protocol is created using the url option.

limit

{Number} An integer specifying the maximum number of features the MapFish web service must return, only applies if the protocol option is not set and if the url option is set, defaults to 10.

minChars

{Number} An integer specifying the minimum number of chars the combobox should wait the user to type before triggering the search.

fieldLabel

{String} The label used in front of the combo box, defaults to null.

displayField

{String} The name of the field whose values are displayed in the combo box, mandatory.

queryParam

{String} The name of the field used as the filter property.

comboOptions

{Object} Options to be passed to the ComboBox constructor.

storeFields

{Array} Options to be passed to the GeoExt.data.FeatureReader If none is provided, only passed displayField will be loaded in store

Abstract vector layer protocol class.
Base class for various recentering tools.
Close