update docs for vector features

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3709 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-07-11 22:21:31 +00:00
parent 2015330138
commit 6bd7edf628

View File

@@ -35,14 +35,15 @@ OpenLayers.Feature.Vector.prototype =
fid: null,
/**
* Property: geometry
* APIProperty: geometry
* {<OpenLayers.Geometry>}
*/
geometry: null,
/**
* Property: attributes
* {Object}
* APIProperty: attributes
* {Object} This object holds arbitrary properties that describe the
* feature.
*/
attributes: null,
@@ -53,7 +54,7 @@ OpenLayers.Feature.Vector.prototype =
state: null,
/**
* Property: style
* APIProperty: style
* {Object}
*/
style: null,
@@ -63,9 +64,10 @@ OpenLayers.Feature.Vector.prototype =
* Create a vector feature.
*
* Parameters:
* geometry - {<OpenLayers.Geometry>}
* data - {Object}
* style - {Object}
* geometry - {<OpenLayers.Geometry>} The geometry that this feature
* represents.
* data - {Object} An optional object that will be mapped to <attributes>.
* style - {Object} An optional style object.
*/
initialize: function(geometry, data, style) {
OpenLayers.Feature.prototype.initialize.apply(this, [null, null, data]);