From 6bd7edf6286dabd402e485bf0324a684df7080b5 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 11 Jul 2007 22:21:31 +0000 Subject: [PATCH] update docs for vector features git-svn-id: http://svn.openlayers.org/trunk/openlayers@3709 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Feature/Vector.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/OpenLayers/Feature/Vector.js b/lib/OpenLayers/Feature/Vector.js index 2621b8c3b0..a7576a8410 100644 --- a/lib/OpenLayers/Feature/Vector.js +++ b/lib/OpenLayers/Feature/Vector.js @@ -35,14 +35,15 @@ OpenLayers.Feature.Vector.prototype = fid: null, /** - * Property: geometry + * APIProperty: 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 - {} - * data - {Object} - * style - {Object} + * geometry - {} The geometry that this feature + * represents. + * data - {Object} An optional object that will be mapped to . + * style - {Object} An optional style object. */ initialize: function(geometry, data, style) { OpenLayers.Feature.prototype.initialize.apply(this, [null, null, data]);