GeoExt

Previous topic

GeoExt.data

Next topic

GeoExt.data.AttributeStore

GeoExt.data.AttributeReader

Extends
class GeoExt.data.AttributeReader(meta, recordType)
Parameters:
  • metaObject Reader configuration.
  • recordTypeArray or Ext.data.Record An array of field configuration objects or a record object.

Create a new attributes reader object.

Valid meta properties:

  • format - OpenLayers.Format A parser for transforming the XHR response into an array of objects representing attributes. Defaults to an OpenLayers.Format.WFSDescribeFeatureType parser.
  • ignore - Object Properties of the ignore object should be field names. Values are either arrays or regular expressions.
  • feature - OpenLayers.Feature.Vector A vector feature. If provided records created by the reader will include a field named “value” referencing the attribute value as set in the feature.