-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Issues with RegionMaps plugin #2888
Comments
Hi @VladutZzZ for the first, it is getting updated with Name. Could you provide any small snippet of what you were describing so that, we can have some clear picture about it.. Screen.Recording.2022-12-14.at.7.59.09.PM.movFor the second, I am not sure if it’s a bug since the request number is using by default. Could you provide more detailed information , so that we could look into it. |
Hi, For the second one, why shouldn't be a bug if you can set that value? Thanks |
Issue moved to opensearch-project/dashboards-maps #156 via Zenhub |
Hello,
I think I found multiple issues with region maps after adding support for custom import map vector.
First, from debugging the current code, looks like if you chose default map you can't use Name as join Field and iso_3166_2 is default selected:
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/region_map/public/region_map_visualization.js#L159
And the second one is using custom vector map, when getting vector map, size is not set so only first 10 Features are returned.
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/region_map/server/routes/opensearch.ts#L67
I got all results by adding size in params:
const params = { index, body: {} ,size: 30};
Thank you
The text was updated successfully, but these errors were encountered: