Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Fix round-tripping between pixelForLatLng() / latLngForPixel() - #1827

Merged
1ec5 merged 1 commit into
masterfrom
1ec5-double-trouble-1817
Jul 2, 2015
Merged

1ec5 merged 1 commit into
masterfrom
1ec5-double-trouble-1817

Conversation

@1ec5

@1ec5 1ec5 commented Jul 2, 2015

Copy link
Copy Markdown
Contributor

Followup to cfa2eaf for #1406. iPhone 6 has an odd width and an odd height. Dividing both figures by 2 but truncating the result leads to egregious errors when fitting to bounds at low zoom levels.

Fixes #1817.

@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS labels Jul 2, 2015
@1ec5 1ec5 added this to the iOS Beta 3 milestone Jul 2, 2015
@1ec5 1ec5 changed the title Fixed round-tripping between pixelForLatLng() / latLngForPixel() Fix round-tripping between pixelForLatLng() / latLngForPixel() Jul 2, 2015
@jfirebaugh

Copy link
Copy Markdown
Contributor

👍

@1ec5
1ec5 force-pushed the 1ec5-double-trouble-1817 branch from 2a0fdc8 to 9361cbf Compare July 2, 2015 17:48
@1ec5
1ec5 merged commit 9361cbf into master Jul 2, 2015
@1ec5 1ec5 removed the in progress label Jul 2, 2015
@1ec5
1ec5 deleted the 1ec5-double-trouble-1817 branch July 2, 2015 17:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug iOS Mapbox Maps SDK for iOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants