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

Choppy marker movement when zoomed in far enough. #122

Open
specialunderwear opened this issue Jan 7, 2013 · 3 comments
Open

Choppy marker movement when zoomed in far enough. #122

specialunderwear opened this issue Jan 7, 2013 · 3 comments

Comments

@specialunderwear
Copy link

When zoomed in on a map for something like 4 levels (4 taps) the markers on the map will nolonger scroll smooth but jump across the map. (Like they are snapping to a grid).

It appears to be caused by the precision of UIScrollView's zoomScale property. When zoomed in far enough, the precision just can not be used for positioning the markers over the zoomed UIScrollView.

A solution for this issue is described here: http://www.mlsite.net/blog/?p=1342

Maybe you don't agree and think it is caused by something else. I would love to hear a different view on the problem.

@specialunderwear
Copy link
Author

So what I mean is, when zooming in far, the [contentOffset valueDidChange] methods are nolonger triggered as often when contentOffset changes, so the position of the markers are not updated as often, causing choppyness.

@incanus
Copy link

incanus commented Jan 7, 2013

There is some work being done in more detail on this issue here at mapbox/DEPRECATED-mapbox-ios-sdk#72

@specialunderwear
Copy link
Author

I will add the link I posted to that ticket, because that describes a proper solution.

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

No branches or pull requests

2 participants