opensearch-project / OpenSearch-Dashboards

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

[BUG] [Region Maps] Zoom in/out/fit to bounds doesn't load data as expected #3902

Open VijayanB opened 1 year ago

VijayanB commented 1 year ago

Describe the bug

Region maps doesn't load data properly if iso_2 field is used for join conditions.

To Reproduce Steps to reproduce the behavior:

  1. Execute following request
    
    POST /national_parks/_bulk?refresh
    {"index":{"_id":1}}
    {"name": "Yellowstone National Park", "location": "USA"}
    {"index":{"_id":2}}
    {"name": "Yosemite National Park", "location": "MEX"}
    {"index":{"_id":3}}
    {"name": "Zion National Park", "location": "CAN"}

2. Create an index pattern national_parks
3. Create Region map with index patter national_parks, shape field: location, join field: iso_3_code
4. Zoom in/out
5. You will see warning message that data cannot be loaded

**Expected behavior**
At step 5, data should be loaded. No error should be visible.

**OpenSearch Version**
2.6.0

**Dashboards Version**
2.6.0

**Plugins**

N/A

**Screenshots**

https://forum.opensearch.org/t/region-maps-highlights-vanishing-when-clicked-on-the-map-zoom-buttons/13895

**Host/Environment (please complete the following information):**
 - OS: [e.g. iOS]
 - Browser and version [e.g. 22]

**Additional context**

[Reported in forum](https://forum.opensearch.org/t/region-maps-highlights-vanishing-when-clicked-on-the-map-zoom-buttons/13895)
tejashu7 commented 1 year ago

Could you please let us know if this issue is tracked or anyone working on this?

tejashu7 commented 1 year ago

Is there any update on this issue?

joshuarrrr commented 1 year ago

@tejashu7 This is a confirmed bug, but there's not anyone currently assigned or working on it.

CC @wbeckler