summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2017-06-12 11:30:53 -0400
committerFabian Guerra Soto <fabian.guerra@mapbox.com>2017-06-12 15:17:02 -0400
commit87a05b29c9f09ad36ec01b71f78ba5e6ad3aa88b (patch)
tree3b9a4ca508c3435dc9ee8ed1fdfe9bbf7096559f
parente59766f4e805a2cd081fbf30ab2365d05ddda8a3 (diff)
downloadqtlocation-mapboxgl-87a05b29c9f09ad36ec01b71f78ba5e6ad3aa88b.tar.gz
[ios, macos] Fix MGLSphericalPosition.radial misleading type.
-rw-r--r--platform/darwin/src/MGLLight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLLight.h b/platform/darwin/src/MGLLight.h
index ef9811bd33..6dd24712e2 100644
--- a/platform/darwin/src/MGLLight.h
+++ b/platform/darwin/src/MGLLight.h
@@ -20,7 +20,7 @@ typedef NS_ENUM(NSUInteger, MGLLightAnchor) {
*/
typedef struct MGLSphericalPosition {
/** Distance from the center of the base of an object to its light. */
- CLLocationDistance radial;
+ CGFloat radial;
/** Position of the light relative to 0° (0° when `MGLLight.anchor` is set to viewport corresponds
to the top of the viewport, or 0° when `MGLLight.anchor` is set to map corresponds to due north,
and degrees proceed clockwise). */