Merge pull request #8690 from wallw-bits/fix-typecheck-cartodb

Fix type checks in CartoDB
This commit is contained in:
Tim Schaub
2018-09-21 16:53:54 -06:00
committed by GitHub

View File

@@ -31,6 +31,12 @@ import XYZ from '../source/XYZ.js';
*/
/**
* @typedef {Object} CartoDBLayerInfo
* @property {string} layergroupid The layer group ID
* @property {{https: string}} cdn_url The CDN URL
*/
/**
* @classdesc
* Layer source for the CartoDB Maps API.
@@ -48,7 +54,6 @@ class CartoDB extends XYZ {
maxZoom: options.maxZoom !== undefined ? options.maxZoom : 18,
minZoom: options.minZoom,
projection: options.projection,
state: SourceState.LOADING,
wrapX: options.wrapX
});