-
Notifications
You must be signed in to change notification settings - Fork 1.3k
setVisibleCoordinateBounds:edgePadding:animated: not working for iPhone 6 #1817
Comments
Huh, I tested this functionality on an iPhone 6, actually. Some questions for you:
|
|
Edge padding is also the same in both cases. |
Two more notes:
|
After some more research, this bug is being caused by the map's zoom level before calling this method. A zoom level of <6 causes a noticeable level of inaccuracy. The lower the zoom level (before calling this method) causes a larger discrepancy. That's what causes the problem, but still unknown is why, and why it would only affect iPhone 6???!! |
I can reproduce this just as you describe: only on iPhone 6. I wasn’t noticing it before because the offset is an absolute distance, yet I was only testing fitting to rather large bounds, such as the shape of Colorado. |
The basic issue described in #1433 still persists to some extent: in |
|
nice, makes sense...now |
Okay, here's a weird one. I am using
setVisibleCoordinateBoundsedgePaddinganimated:
to zoom the map into a route. On iPhone 5S, this work perfectly. However, on the iPhone 6 the map is centered way off into the mountains. I've double checked that I am passing in the same coordinates. The only difference (from what I can tell) is that the map is a bit wider on the iPhone 6 screen.Same code base, running in Simulator. Any ideas?
iPhone 5S Results
iPhone 6 Results
iPhone 5S Values
iPhone 6 Values
The text was updated successfully, but these errors were encountered: