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

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

Merged
merged 1 commit into from
Jul 2, 2015

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jul 2, 2015

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
Contributor

👍

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