From 13a0eb4ca7c33fc32e4d1484a0531482b63d74c1 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 1 Apr 2016 09:18:57 +0200 Subject: [PATCH] Add jsdoc tags in ol.source.CartoDB constructor --- src/ol/source/cartodb.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/ol/source/cartodb.js b/src/ol/source/cartodb.js index 2a8a0ae2f1..9fdbd1355f 100644 --- a/src/ol/source/cartodb.js +++ b/src/ol/source/cartodb.js @@ -14,10 +14,31 @@ goog.require('ol.source.XYZ'); * @api */ ol.source.CartoDB = function(options) { + + /** + * @type {string} + * @private + */ this.account_ = options.account; + + /** + * @type {string} + * @private + */ this.mapId_ = options.map || ''; + + /** + * @type {Object} + * @private + */ this.config_ = options.config || {}; + + /** + * @type {Object.} + * @private + */ this.templateCache_ = {}; + delete options.map; goog.base(this, options); this.initializeMap_();