From 5857117625d242d7066bed008ce86b4b829ff57a Mon Sep 17 00:00:00 2001 From: ahocevar Date: Sat, 16 Mar 2019 21:29:49 +0100 Subject: [PATCH] Remove unused ExecutorGroup methods --- src/ol/render/canvas/ExecutorGroup.js | 34 --------------------------- 1 file changed, 34 deletions(-) diff --git a/src/ol/render/canvas/ExecutorGroup.js b/src/ol/render/canvas/ExecutorGroup.js index e14a9e9c14..362de136f1 100644 --- a/src/ol/render/canvas/ExecutorGroup.js +++ b/src/ol/render/canvas/ExecutorGroup.js @@ -301,40 +301,6 @@ class ExecutorGroup extends Disposable { return flatClipCoords; } - /** - * @param {number|undefined} zIndex Z index. - * @param {import("./BuilderType.js").default} builderType Builder type. - * @return {import("../VectorContext.js").default} Executor. - */ - getExecutor(zIndex, builderType) { - const zIndexKey = zIndex !== undefined ? zIndex.toString() : '0'; - let executors = this.executorsByZIndex_[zIndexKey]; - if (executors === undefined) { - executors = {}; - this.executorsByZIndex_[zIndexKey] = executors; - } - let executor = executors[builderType]; - if (executor === undefined) { - // FIXME: it should not be possible to ask for an executor that does not exist - executor = new Executor( - this.resolution_, this.pixelRatio_, this.overlaps_, { - instructions: [], - hitDetectionInstructions: [], - coordinates: [] - }, - this.declutterTree_); - executors[builderType] = executor; - } - return executor; - } - - /** - * @return {Object>} Replays. - */ - getExecutors() { - return this.executorsByZIndex_; - } - /** * @return {boolean} Is empty. */