You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
MGLStyleLayerDrawingContext.pitch is measured in radians #12944
MGLStyleLayerDrawingContext.direction is measured in degrees, just like MGLMapView.direction and MGLMapCamera.heading, but MGLStyleLayerDrawingContext.pitch is measured in radians, which is inconsistent with MGLMapCamera.pitch. MGLStyleLayerDrawingContext.pitch should be measured in degrees for consistency with the other properties. This is especially important because MGLStyleLayerDrawingContext is (intentionally) undocumented. If client code needs radians, for example to work with SceneKit transforms, then it’s easy enough to convert using MGLRadiansFromDegrees().
Activity
stale commentedon Mar 21, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.