src/api/v4/layer/base.js
function Base (source, layer, options) {
  options = options || {};
  this._id = options.id || Base.$generateId();
}
function Base (source, layer, options) {
  options = options || {};
  this._id = options.id || Base.$generateId();
}
function Base ( source , layer , options ) { options = options || { } ; this . _id = options . id || Base . $generateId ( ) ; }
Base layer object.

This object should not be used directly! use {@link carto.layer.Layer} instead.

@constructor
@abstract
@fires error
@memberof carto.layer
@api
Base layer object .