OpenLayers.Feature - JSDOC/coding standards

git-svn-id: http://svn.openlayers.org/trunk/openlayers@296 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-23 19:06:41 +00:00
parent d6f1dedeb1
commit c10fdec8e7

View File

@@ -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"
};