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

max bounds/max zoom bug - mobile #72

Closed
jwhaney opened this issue Jun 28, 2019 · 3 comments
Closed

max bounds/max zoom bug - mobile #72

jwhaney opened this issue Jun 28, 2019 · 3 comments

Comments

@jwhaney
Copy link
Contributor

jwhaney commented Jun 28, 2019

only lake to not recognize max bounds and max zoom on mobile (lake travis). could be something to do with the shape/bounds of that lake in particular.

seems to be only on mobile

@jwhaney
Copy link
Contributor Author

jwhaney commented Aug 22, 2019

so this is not true. there are more lakes than just Travis that the max bounds do not currently work. example is Brownwood.

@jwhaney jwhaney changed the title lake travis max bounds/max zoom bug - mobile max bounds/max zoom bug - mobile Aug 22, 2019
@jwhaney
Copy link
Contributor Author

jwhaney commented Aug 23, 2019

actually this bug appears to occur sporadically and unpredictably. testing from home right now and the max bounds panning restriction seems to work and the max zoom as well for both brownwood and travis. idk. keep testing.

jwhaney added a commit that referenced this issue Sep 10, 2019
@jwhaney
Copy link
Contributor Author

jwhaney commented Sep 10, 2019

seems that zoom levels were not detected the same as other lakes; needed map.on 'zoomend' function to detect proper zoom level then set the maxbounds and min zoom levels.

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

1 participant