Merge pull request #5218 from aisaacs/export-cartodb-setconfig

Add @api annotation to setConfig.
This commit is contained in:
Tim Schaub
2016-04-13 09:11:12 -06:00

View File

@@ -83,6 +83,7 @@ ol.source.CartoDB.prototype.updateConfig = function(config) {
* @param {Object} config In the case of anonymous maps, a CartoDB configuration
* object.
* If using named maps, a key-value lookup with the template parameters.
* @api
*/
ol.source.CartoDB.prototype.setConfig = function(config) {
this.config_ = config || {};