Add jsdoc tags in ol.source.CartoDB constructor
This commit is contained in:
@@ -14,10 +14,31 @@ goog.require('ol.source.XYZ');
|
|||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.source.CartoDB = function(options) {
|
ol.source.CartoDB = function(options) {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {string}
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
this.account_ = options.account;
|
this.account_ = options.account;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {string}
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
this.mapId_ = options.map || '';
|
this.mapId_ = options.map || '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {Object}
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
this.config_ = options.config || {};
|
this.config_ = options.config || {};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {Object.<string, Object>}
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
this.templateCache_ = {};
|
this.templateCache_ = {};
|
||||||
|
|
||||||
delete options.map;
|
delete options.map;
|
||||||
goog.base(this, options);
|
goog.base(this, options);
|
||||||
this.initializeMap_();
|
this.initializeMap_();
|
||||||
|
|||||||
Reference in New Issue
Block a user