diff --git a/x-pack/plugins/maps/public/reducers/map.js b/x-pack/plugins/maps/public/reducers/map.js index 599573ac3fd695..7a228717747813 100644 --- a/x-pack/plugins/maps/public/reducers/map.js +++ b/x-pack/plugins/maps/public/reducers/map.js @@ -86,7 +86,7 @@ const updateLayerSourceDescriptorProp = (state, layerId, propName, value, newLay }; if (newLayerType && newLayerType !== layerList[layerIdx].type) { // clear out data requests for previous layer type - delete updatedLayer.__dataRequests; + updatedLayer.__dataRequests = []; updatedLayer.type = newLayerType; } const updatedList = [