diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-09-28 15:05:22 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2017-09-28 19:10:06 -0700 |
commit | 093d9da6ef4d5add137149c956d115f185bd4795 (patch) | |
tree | bda7a59fb93f454aa562a21624af1cae02558bcf /platform/ios/src/MGLFaux3DUserLocationAnnotationView.h | |
parent | a323b0dcec65056f04d994bda8fd3ee475d1639f (diff) | |
download | qtlocation-mapboxgl-093d9da6ef4d5add137149c956d115f185bd4795.tar.gz |
[ios] Define user dot constants in implementation file
Diffstat (limited to 'platform/ios/src/MGLFaux3DUserLocationAnnotationView.h')
-rw-r--r-- | platform/ios/src/MGLFaux3DUserLocationAnnotationView.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/ios/src/MGLFaux3DUserLocationAnnotationView.h b/platform/ios/src/MGLFaux3DUserLocationAnnotationView.h index da5c7155a5..35fb31a342 100644 --- a/platform/ios/src/MGLFaux3DUserLocationAnnotationView.h +++ b/platform/ios/src/MGLFaux3DUserLocationAnnotationView.h @@ -1,14 +1,14 @@ #import <UIKit/UIKit.h> #import "MGLUserLocationAnnotationView.h" -const CGFloat MGLUserLocationAnnotationDotSize = 22.0; -const CGFloat MGLUserLocationAnnotationHaloSize = 115.0; +extern const CGFloat MGLUserLocationAnnotationDotSize; +extern const CGFloat MGLUserLocationAnnotationHaloSize; -const CGFloat MGLUserLocationAnnotationPuckSize = 45.0; -const CGFloat MGLUserLocationAnnotationArrowSize = MGLUserLocationAnnotationPuckSize * 0.6; +extern const CGFloat MGLUserLocationAnnotationPuckSize; +extern const CGFloat MGLUserLocationAnnotationArrowSize; // Threshold in radians between heading indicator rotation updates. -const CGFloat MGLUserLocationHeadingUpdateThreshold = 0.01; +extern const CGFloat MGLUserLocationHeadingUpdateThreshold; @interface MGLFaux3DUserLocationAnnotationView : MGLUserLocationAnnotationView |