opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.67k stars 874 forks source link

[BUG] Coordinate map with heat map type doesn't apply filters #7789

Open alison-mtsi opened 1 month ago

alison-mtsi commented 1 month ago

Describe the bug

A coordinate map with Map type set to Heat Map doesn't update and remove data when filters are applied.

To Reproduce Steps to reproduce the behavior:

  1. Ensure data has a geo_point field available to plot
  2. Create Visualization > Coordinate map
  3. Choose Map type > heat map
  4. Apply any filters to the data -- the map does not update and data is not removed.

The expected behavior does occur (data is filtered out/map updates) when using the other map types: scaled circle markers, shaded circle markers, and shaded geohash grid.

Expected behavior The map should update to reflect the applied filters.

OpenSearch Version OpenSearch 2.13, AWS GovCloud managed service

Dashboards Version OpenSearch 2.13, AWS GovCloud managed service

Plugins none

Screenshots Screenshots attached show one with heat map (incorrect) and scaled circles (correct). Data is filtered down to show active satellites owned by the US; map shows the launch site.

Incorrect: coordinate-map-heatmap-filters-applied

Correct: coordinate-map-scaled-circles-filters-applied

Host/Environment (please complete the following information):

Additional context

Add any other context about the problem here.

dblock commented 1 month ago

[Catch All Triage - 1, 2, 3, 4, 5]