Skip to content
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] Zoom scaling icons on maps incorrectly #1349

Open
wou0 opened this issue Mar 16, 2022 · 5 comments
Open

[BUG] Zoom scaling icons on maps incorrectly #1349

wou0 opened this issue Mar 16, 2022 · 5 comments
Labels
bug Something isn't working maps Issues or PRs related to the Maps Service medium priority needs more info Requires more information from poster

Comments

@wou0
Copy link

wou0 commented Mar 16, 2022

Describe the bug

Map location icon not loaded correctly after opening dashboard

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'maps in dashboards with some data shown on it'
  2. Click on 'ZOOM IN button.'
  3. Icons become really large
  4. After they become large, zooming far out and then zooming in seems to make the icons proper sized.

Expected behavior
Icons get scaled accordingly to map zoom.

OpenSearch Version
v 1.2.0

Dashboards Version
v 1.2.0

Plugins
n/a

Screenshots
image
image
image
image

Host/Environment (please complete the following information):

  • OS: CentOS
  • Browser and version n/a
@wou0 wou0 added bug Something isn't working untriaged labels Mar 16, 2022
@kavilla kavilla changed the title [BUG] [BUG] Zoom scaling icons on maps incorrectly Mar 17, 2022
@kavilla
Copy link
Member

kavilla commented Mar 17, 2022

Hello @wou0,

Thank you for opening! This is interesting, I'm not able to see the same locally. If you inspect the browser are you seeing error messages related to the map. If so could you provide those details?

Also, would you also provide information on how the visualization is configured (more focused on the marks and scaling).

Finally, are you using the map service that is out of the box, specifically, have you set anything within config/opensearch_dashboards.yml related to maps?

Thanks again!

@kavilla kavilla added needs more info Requires more information from poster and removed untriaged labels Mar 17, 2022
@tmarkley tmarkley added the maps Issues or PRs related to the Maps Service label May 25, 2022
@bandinib-amzn
Copy link
Member

Hi @wou0,

Adding one more question to @kavilla's above questions. Have you unchecked below highlighted settings and change precision? Those settings are checked by default.

Screen Shot 2022-07-25 at 3 51 23 PM

@MedoDome
Copy link

MedoDome commented Sep 8, 2022

Hi,
I have the same issue with un-zooming and zooming it. This feature worked in OpenDistro but with OpenSearch from first versions till 2.2 version issue persist.

How I understood density of dots are problem which triggers this huge dots on zooming it out.
I can provide one data set which triggers this issue with default precision and off grid markers and create new issue if is needed.

@MedoDome
Copy link

MedoDome commented Sep 9, 2022

Hi @wou0,

Adding one more question to @kavilla's above questions. Have you unchecked below highlighted settings and change precision? Those settings are checked by default.

Screen Shot 2022-07-25 at 3 51 23 PM

I have unchecked now the map properties and change the threshold of precision to 4 and it works. Thank you for this tip ^^

But I am still wondering why it doesn't work like in legacy system.

@JonathanTurnock
Copy link

I also experience this when the visualization is on the dashboard.

Works fine when it's just on the visualization

I'm using the string based lat,lon format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working maps Issues or PRs related to the Maps Service medium priority needs more info Requires more information from poster
Projects
None yet
Development

No branches or pull requests

7 participants