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

[ios] Fix for #2259 - perspective tilt and cameraForLatLngs #2987

Closed
wants to merge 1 commit into from

Conversation

incanus
Copy link
Contributor

@incanus incanus commented Nov 9, 2015

@ansis mentioned he was going to check this out.

/cc @adam-mapbox

@incanus incanus added GL JS parity For feature parity with Mapbox GL JS iOS Mapbox Maps SDK for iOS in progress labels Nov 9, 2015
@@ -101,7 +101,7 @@ class TransformState {
double x = 0, y = 0;
double angle = 0;
double scale = 1;
double altitude = 1.5;
double FOV = 36.87;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of #3362, iOS-specific calculations assume a vertical FOV of 30°, which is consistent with MapKit.

@jfirebaugh jfirebaugh closed this Feb 4, 2016
@jfirebaugh jfirebaugh deleted the adam_fix_pixelForLatLng_2 branch February 4, 2016 02:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
GL JS parity For feature parity with Mapbox GL JS iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants