Geomap: clear features when no-data is returned (#44748)
This commit is contained in:
1 parent
58a71c7e91
commit
d8df08ce5d
1 file changed
+1
@@ -112,6 +112,7 @@ export const markersLayer: MapLayerRegistryItem<MarkersConfig> = {
|
||||
legend: legend,
|
||||
update: (data: PanelData) => {
|
||||
if (!data.series?.length) {
|
||||
source.clear();
|
||||
return; // ignore empty
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user