gxp.form.ViewerField¶
-
class
gxp.form.ViewerField(config)¶ A form field that holds an entire
gxp.Viewer. This field is used to process geospatial information in forms. By itself, this field does nothing but showing a map viewer in a form element, aligned with field label and suited for anExt.layouts.FormLayout.To actually have this field’s textarea populated with information, a plugin accessing the additional
fieldproperty that this component adds to itsgxp.Viewerinstance is required. Seegxp.plugins.FeatureToFieldfor a basic plugin that does this.
Config Options¶
Configuration properties in addition to those listed for Ext.form.Field.
-
height NumberHeight of the map viewer. Default is 220.
-
viewer ObjectConfiguration passed to thegxp.Viewerconstructor. TheportalConfigwill be extended to make sure that the portal is rendered into this field.
-
width NumberWidth of the map viewer. Default is 350.
Public Properties¶
Public properties in addition to those listed for Ext.form.Field.
-
ViewerField.viewer¶ gxp.ViewerThe viewer wrapped by this field. This component adds an additionalfield(Ext.form.TextArea) property to the viewer, which is to be populated by a viewer plugin to actually give this field a value.