diff --git a/x-pack/legacy/plugins/maps/public/layers/layer.js b/x-pack/legacy/plugins/maps/public/layers/layer.js index f67ec10a1ec71..d4851a9c414e9 100644 --- a/x-pack/legacy/plugins/maps/public/layers/layer.js +++ b/x-pack/legacy/plugins/maps/public/layers/layer.js @@ -268,8 +268,8 @@ export class AbstractLayer { return false; } - syncLayerWithMb() { - //no-op by default + syncLayerWithMB() { + throw new Error('Should implement AbstractLayer#syncLayerWithMB'); } updateDueToExtent(source, prevMeta = {}, nextMeta = {}) {