little bitta JSDOC
git-svn-id: http://svn.openlayers.org/trunk/openlayers@457 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// @require: OpenLayers/Layer/Markers.js
|
||||
|
||||
/**
|
||||
* @class
|
||||
*/
|
||||
@@ -17,6 +18,7 @@ OpenLayers.Layer.Text.prototype =
|
||||
* @constructor
|
||||
*
|
||||
* @param {String} name
|
||||
* @param {String} location
|
||||
*/
|
||||
initialize: function(name, location) {
|
||||
OpenLayers.Layer.Markers.prototype.initialize.apply(this, [name]);
|
||||
@@ -24,6 +26,10 @@ OpenLayers.Layer.Text.prototype =
|
||||
new Ajax.Request(location,
|
||||
{ method: 'get', onComplete:this.parseData.bind(this) } );
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {?} ajaxRequest
|
||||
*/
|
||||
parseData: function(ajaxRequest) {
|
||||
var text = ajaxRequest.responseText;
|
||||
var lines = text.split('\n');
|
||||
|
||||
Reference in New Issue
Block a user