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_();