Add the renderer type to generic layer template variables

This commit is contained in:
Tim Schaub
2021-11-18 10:15:55 -07:00
parent 224f4c5c7f
commit 6f80ba93c8
13 changed files with 21 additions and 52 deletions
+1 -6
View File
@@ -85,7 +85,7 @@ import {assign} from '../obj.js';
* options means that `title` is observable, and has get/set accessors.
*
* @param {Options} [opt_options] Options.
* @extends {BaseVectorLayer<import("../source/VectorTile.js").default>}
* @extends {BaseVectorLayer<import("../source/VectorTile.js").default, CanvasVectorTileLayerRenderer>}
* @api
*/
class VectorTileLayer extends BaseVectorLayer {
@@ -147,11 +147,6 @@ class VectorTileLayer extends BaseVectorLayer {
);
}
/**
* Create a renderer for this layer.
* @return {import("../renderer/Layer.js").default} A layer renderer.
* @protected
*/
createRenderer() {
return new CanvasVectorTileLayerRenderer(this);
}