[Commits] r390 - core/trunk/geoext/lib/GeoExt/data
commits at geoext.org
commits at geoext.org
Wed Apr 15 08:36:41 CEST 2009
Author: elemoine
Date: 2009-04-15 08:36:41 +0200 (Wed, 15 Apr 2009)
New Revision: 390
Modified:
core/trunk/geoext/lib/GeoExt/data/FeatureStore.js
Log:
improve ND comments for the FeatureStore constructor, no functional change
Modified: core/trunk/geoext/lib/GeoExt/data/FeatureStore.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/data/FeatureStore.js 2009-04-14 23:05:10 UTC (rev 389)
+++ core/trunk/geoext/lib/GeoExt/data/FeatureStore.js 2009-04-15 06:36:41 UTC (rev 390)
@@ -76,9 +76,14 @@
* layer - {OpenLayers.Layer.Vector} layer to sync the feature store with.
* features - {Array(OpenLayers.Feature.Vector)} Features that will be added to the
* feature store (and the layer, because we are already syncing).
- * recordType - {<GeoExt.data.FeatureRecord>} If provided, a custom feature
- * record type with additional fields will be used. Default fields for
- * every feature record are {OpenLayers.Feature.Vector} feature and {String} title.
+ * fields - {Array} If provided, a custom feature record type with additional fields
+ * will be used. Default fields for every feature record are
+ * {OpenLayers.Feature.Vector} feature, {String} state and
+ * {Number|String} fid. The value of this option is either an array of
+ * field definition objects as passed to the
+ * GeoExt.data.FeatureRecord.create function or a
+ * {<GeoExt.data.FeatureRecord>} constructor created using
+ * GeoExt.data.FeatureRecord.create.
* initDir - {Number} Bitfields specifying the direction to use for the
* initial sync between the layer and the store, if set to 0 then no
* initial sync is done. Defaults to
More information about the Commits
mailing list