From fcdacab8bc23d4844ff01cfb0904d22d1cac3592 Mon Sep 17 00:00:00 2001 From: Thomas Neirynck Date: Fri, 15 Jan 2021 16:13:32 -0500 Subject: [PATCH] remove test code --- .../classes/layers/vector_tile_layer/vector_tile_layer.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/x-pack/plugins/maps/public/classes/layers/vector_tile_layer/vector_tile_layer.js b/x-pack/plugins/maps/public/classes/layers/vector_tile_layer/vector_tile_layer.js index 8f6a24c361bde..36e508329e1cf 100644 --- a/x-pack/plugins/maps/public/classes/layers/vector_tile_layer/vector_tile_layer.js +++ b/x-pack/plugins/maps/public/classes/layers/vector_tile_layer/vector_tile_layer.js @@ -45,11 +45,6 @@ export class VectorTileLayer extends TileLayer { } async syncData({ startLoading, stopLoading, onLoadError, dataFilters }) { - const id = this.getSource().getTileLayerId(); - if (!id) { - return; - } - const nextMeta = { tileLayerId: this.getSource().getTileLayerId() }; const canSkipSync = this._canSkipSync({ prevDataRequest: this.getSourceDataRequest(),