GeoExt

Table Of Contents

Previous topic

GeoExt.data.FeatureReader

Next topic

GeoExt.data.FeatureStore

GeoExt.data.FeatureRecord

Extends
class GeoExt.data.FeatureRecord

A record that represents an OpenLayers.Feature.Vector. This record will always have at least the following fields:

  • state String
  • fid String

Public Methods

Public methods in addition to those listed for Ext.data.Record.

FeatureRecord.getFeature()
Returns:OpenLayers.Feature.Vector

Gets the feature for this record.

FeatureRecord.setFeature()
Parameter:featureOpenLayers.Feature.Vector

Sets the feature for this record.

Class Methods

Class methods in addition to static methods listed for Ext.data.Record.

classmethod FeatureRecord.create()
Parameter:oArray Field definition as in Ext.data.Record.create. Can be omitted if no additional fields are required.
Returns:Function A specialized GeoExt.data.FeatureRecord constructor.

Creates a constructor for a GeoExt.data.FeatureRecord, optionally with additional fields.