mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Geomap: Avoid exceptions when missing data and values (heatmap and zoom settings)
This commit is contained in:
@@ -74,6 +74,9 @@ export const heatmapLayer: MapLayerRegistryItem<HeatmapConfig> = {
|
||||
vectorLayer.getSource().removeFeature(feature);
|
||||
});
|
||||
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
// Get data points (latitude and longitude coordinates)
|
||||
const info = dataFrameToPoints(frame, matchers);
|
||||
if (info.warning) {
|
||||
|
||||
Reference in New Issue
Block a user