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

Geomap - Separators for Alaska and Hawaii are visible outside the plot on zoom extending into the legend area #21129

Open
sakshi1eQ opened this issue May 7, 2024 · 1 comment

Comments

@sakshi1eQ
Copy link

sakshi1eQ commented May 7, 2024

Expected behavior

The separators should be cropped and not extend into the legend area.

Actual behavior

For map of United States of America and projection type WebMercator, when we zoom in near alaska and hawaii, the lines that separate those points are not cropped at plot border but they extend out of plot into legend.

Live demo with steps to reproduce

https://jsfiddle.net/sakshiKorade/Ly4e5qma/11/

Product version

Highmaps latest version

Affected browser(s)

All browsers

@hubertkozik
Copy link
Member

Hi @sakshi1eQ!
This is a bug, inset lines should be cut together with map shapes.
Demo: https://jsfiddle.net/BlackLabel/ofu3prsm/

As a workaround, you can set the background opacity of the legend to 1: https://jsfiddle.net/BlackLabel/w25bofqc/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants