Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Orientation Change breaks map #43

Closed
regularExpresso opened this issue Nov 29, 2018 · 4 comments
Closed

Orientation Change breaks map #43

regularExpresso opened this issue Nov 29, 2018 · 4 comments
Assignees

Comments

@regularExpresso
Copy link

changing the device orientation breaks the scale relationship between the mapbox layer and the three.js overlay - any idea how to fix this?

@peterqliu peterqliu self-assigned this Nov 30, 2018
@regularExpresso
Copy link
Author

hello, has there been any update on this issue by chance?
this is quite a game breaker for my project :/

@peterqliu
Copy link
Owner

Hi! I'm fixing this in the next release, but in the meantime you can do this https://stackoverflow.com/questions/20290402/three-js-resizing-canvas to address changes in viewport size

@Karma-Studio
Copy link

Thank you, this temporarily fixed it :)

@peterqliu
Copy link
Owner

solved in 0.3.0

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

No branches or pull requests

3 participants