This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Bugs in Transform? #1574
Labels
Comments
/cc @kkaefer |
If there's a bug in |
Does order of calling matter? e.g. set center, but then set zoom and it loses/invalidates the center? |
@incanus I was thinking along those lines, but I changed to using only setLanLngZoom and it workse slightly better but it is still rather broken. |
We determined this was due to problematic floating-point compiler options. |
Awesome! So this means that compiler options have now been adjusted and things work on ARM again? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After poking around trying to figure out #1468 I have come to the conclusion that parts of the code in
Transform
that iOS has stopped excercising for a while has become stale.There are some really strange bugs I have found particularly with
Map::setZoom
andMap::setLatLng
which only Android has been using recently.Looking at iOS it uses
Map::setLatLngZoom
in combination withMap::getZoom
andMap::getLatLng
to implement what used to be done withMap::setZoom
andMap::setLatLng
. Also none of the C++ test cases seem to use either of the those functions.I can change Android to switch to the same code that iOS uses, but that will only cover up the bugs in the C++ layer. I might do this as a stop gap to get a working Android app until the bugs in the C++ side have been fixed.
Solutions I can think of:
Map::setZoom
andMap::setLatLng
since no one using it anymoreMap::setZoom
andMap::setLatLng
alone and just leave Android and iOS usingMap::setLatLngZoom
/cc @incanus @bleege @jfirebaugh
The text was updated successfully, but these errors were encountered: