Geomap: clear features when no-data is returned (#44748)

pull/44721/head^2
Ryan McKinley 3 years ago committed by GitHub
parent 58a71c7e91
commit d8df08ce5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      public/app/plugins/panel/geomap/layers/data/markersLayer.tsx

@ -112,6 +112,7 @@ export const markersLayer: MapLayerRegistryItem<MarkersConfig> = {
legend: legend,
update: (data: PanelData) => {
if (!data.series?.length) {
source.clear();
return; // ignore empty
}

Loading…
Cancel
Save