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

International date line (longitude 180/-180) breaks clustering #31

Closed
jonaspom opened this issue Nov 19, 2017 · 3 comments
Closed

International date line (longitude 180/-180) breaks clustering #31

jonaspom opened this issue Nov 19, 2017 · 3 comments
Labels

Comments

@jonaspom
Copy link

Hi

Great work with the Kit! Integration was easy and it actually works quite fast and reliable unlike the frameworks I have experimented before. However I think I found a special case that's not handled.

When navigating in GoogleMaps so that the view covers the international date line (longitude 180 / -180) all clusters on the map disappear. They reappear immediately when moving completely on either side of the line. Even though this is more of an inconvinience than a real blocker it gives an incomplete user experience and I would love to have this working. See the gif below for an example.

Even with this issue the ClusterKit is great, thank you. :)

img_8838 trim

@maxep maxep added the bug label Nov 19, 2017
@MarvinNazari
Copy link

This happens for me as well. The pins just disappears and appears again when u just zoom in or out or move a little bit.

@maxep
Copy link
Contributor

maxep commented Nov 20, 2017

Thanks @jonaspom for the report, I should be able to push a fix for the next version.
Mapbox is also struggling with the visibleCoordinateBounds crossing the antimeridian: mapbox/mapbox-gl-native#4664, which introduce a weird behavior. I will see if I can find a workaround for Mapbox also.

@maxep maxep closed this as completed in 7dd6b4f Nov 20, 2017
@jonaspom
Copy link
Author

jonaspom commented Feb 24, 2018

Thanks @maxep However, the issue persists with Google Maps and the latest ClusterKit 0.3.3

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

No branches or pull requests

3 participants