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:
@@ -4,18 +4,25 @@
|
|||||||
OpenLayers.Feature = Class.create();
|
OpenLayers.Feature = Class.create();
|
||||||
OpenLayers.Feature.prototype= {
|
OpenLayers.Feature.prototype= {
|
||||||
|
|
||||||
// events object
|
/** @type OpenLayers.Events */
|
||||||
events:null,
|
events:null,
|
||||||
|
|
||||||
/** @type String */
|
/** @type String */
|
||||||
id: null,
|
id: null,
|
||||||
|
|
||||||
// ol.LonLat
|
/** @type OpenLayers.LonLat */
|
||||||
lonlat:null,
|
lonlat:null,
|
||||||
|
|
||||||
// Object
|
/** @type Object */
|
||||||
data:null,
|
data:null,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @constructor
|
||||||
|
*
|
||||||
|
* @param {String} id
|
||||||
|
* @param {OpenLayers.LonLat} lonlat
|
||||||
|
* @param {Object} data
|
||||||
|
*/
|
||||||
initialize: function(id, lonlat, data) {
|
initialize: function(id, lonlat, data) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.lonlat = lonlat;
|
this.lonlat = lonlat;
|
||||||
@@ -64,7 +71,5 @@ OpenLayers.Feature.prototype= {
|
|||||||
return contentHTML;
|
return contentHTML;
|
||||||
},
|
},
|
||||||
|
|
||||||
/////////////////////////////////
|
CLASS_NAME: "OpenLayers.Feature"
|
||||||
who:function(){return ("Feature.js");} //last
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user