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

Cant Restrict Panning of map while in offline mode- Android #235

Closed
shangeethsivan opened this issue Dec 3, 2016 · 1 comment
Closed

Comments

@shangeethsivan
Copy link

shangeethsivan commented Dec 3, 2016

Not able to restrict panning of map to offline areas while in offline mode

Steps to trigger behavior

1.Download Offline Map
2.Turn off your data connection
3.Pan to the unavailable area. You are probably lost while you are in the unavailable area in offline mode.

Expected behavior

Map panning must be restricted to the unavailable area while in offline mode.

screenshot_2016-12-03-11-01-39-527_com ck ckmapbox

@cammace
Copy link
Contributor

cammace commented Dec 4, 2016

Limiting the viewport movement is something we haven't implemented yet (see mapbox/mapbox-gl-native#3602). For now you can navigate to a downloaded region, see this snippet of code on how to do this. In the future, map related issues belong in https://github.com/mapbox/mapbox-gl-native

@cammace cammace closed this as completed Dec 4, 2016
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