diff --git a/lib/OpenLayers/Feature.js b/lib/OpenLayers/Feature.js index f989696e0b..bdf567f7ff 100644 --- a/lib/OpenLayers/Feature.js +++ b/lib/OpenLayers/Feature.js @@ -4,18 +4,25 @@ OpenLayers.Feature = Class.create(); OpenLayers.Feature.prototype= { - // events object + /** @type OpenLayers.Events */ events:null, /** @type String */ id: null, - // ol.LonLat + /** @type OpenLayers.LonLat */ lonlat:null, - // Object + /** @type Object */ data:null, + /** + * @constructor + * + * @param {String} id + * @param {OpenLayers.LonLat} lonlat + * @param {Object} data + */ initialize: function(id, lonlat, data) { this.id = id; this.lonlat = lonlat; @@ -64,7 +71,5 @@ OpenLayers.Feature.prototype= { return contentHTML; }, - ///////////////////////////////// - who:function(){return ("Feature.js");} //last - + CLASS_NAME: "OpenLayers.Feature" };