diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-04-22 11:12:27 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-04-22 11:29:10 -0700 |
commit | 2a1a5f088564b2d6c2e3765d0d741edf1886fc81 (patch) | |
tree | 4f58085117a42213db7b70e21cc16a535fe3ff34 /platform/ios/framework | |
parent | e5c6cfde4b4f36cadeadfcb320bd641c4517f366 (diff) | |
download | qtlocation-mapboxgl-2a1a5f088564b2d6c2e3765d0d741edf1886fc81.tar.gz |
[ios, osx] Split MGLDirectionFormatter in two
Split MGLDirectionFormatter into MGLClockDirectionFormatter, which specializes in clock positions, and MGLCompassDirectionFormatter, which boxes the compass. This neatly avoids any confusion that might arise if the developer fails to read the documentation and thinks the original unified formatter can convert between the two types of directions.
Diffstat (limited to 'platform/ios/framework')
-rw-r--r-- | platform/ios/framework/Mapbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/ios/framework/Mapbox.h b/platform/ios/framework/Mapbox.h index db6aba1495..7afe2f77a8 100644 --- a/platform/ios/framework/Mapbox.h +++ b/platform/ios/framework/Mapbox.h @@ -10,8 +10,9 @@ FOUNDATION_EXPORT const unsigned char MapboxVersionString[]; #import "MGLAnnotation.h" #import "MGLAnnotationImage.h" #import "MGLCalloutView.h" +#import "MGLClockDirectionFormatter.h" +#import "MGLCompassDirectionFormatter.h" #import "MGLCoordinateFormatter.h" -#import "MGLDirectionFormatter.h" #import "MGLMapCamera.h" #import "MGLGeometry.h" #import "MGLMapView.h" |