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