/**
* BeNomad BeMap JavaScript API - VectorTileLayer class
*/
/**
* @classdesc
* Layer for vector tile sources. MapLibre only.
* @public
* @constructor
* @extends {bemap.Layer}
* @param {Object} options See below.
* @param {String} options.url Vector tile URL template or TileJSON URL.
* @param {String} options.sourceLayer Source layer name for filtering.
*/
bemap.VectorTileLayer = function(options) {
var opts = options || {};
/**
* @type {String}
* @protected
*/
this.url = opts.url ? opts.url : null;
/**
* @type {String}
* @protected
*/
this.sourceLayer = opts.sourceLayer ? opts.sourceLayer : null;
bemap.Layer.call(this, options);
};
bemap.inherits(bemap.VectorTileLayer, bemap.Layer);