-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Rotation isn't persisted #463
Comments
Which OS(es)? Still valid? |
Just discovered Android-mason has this bug. Working on it. |
Fixed Android in dca5f8b |
@incanus Found the main problem. When restoring the map's state, you must set the zoom level before you set the zoom level. The reason is that the zoom defaults to zoomed out, so due to disabling rotation when zoomed out, it ignores the rotation setting. E.g.
Good:
Can you check that iOS, OSX, and Linux load the map state in the correct order? This will also cause bugs in end user apps by developers who do not understand this limitation. Easiest way to fix is to just remove rotation restriction on zoom level. Otherwise we should document this in map.hpp, iOS/OSX framework, and Android Java docs. |
Yep, will check this out. |
When rotating the map, then panning, the rotation jumps back to 0.
The text was updated successfully, but these errors were encountered: