summaryrefslogtreecommitdiff
path: root/platform/ios/framework
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-03-03 16:28:51 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-03-10 17:08:58 -0800
commit77657b38969a55377117dfde5fc9d5e3478208d1 (patch)
tree612ffa47975015efaa300a617e4d916a14e72688 /platform/ios/framework
parenta65730803e4185600ff7251cf0a18a4835f4f41b (diff)
downloadqtlocation-mapboxgl-77657b38969a55377117dfde5fc9d5e3478208d1.tar.gz
[ios] Implemented offline API in iOS SDK
Fixes #3892.
Diffstat (limited to 'platform/ios/framework')
-rw-r--r--platform/ios/framework/Mapbox.h4
-rw-r--r--platform/ios/framework/Mapbox.m3
2 files changed, 7 insertions, 0 deletions
diff --git a/platform/ios/framework/Mapbox.h b/platform/ios/framework/Mapbox.h
index 11f163376a..f13a542ac2 100644
--- a/platform/ios/framework/Mapbox.h
+++ b/platform/ios/framework/Mapbox.h
@@ -12,6 +12,9 @@ FOUNDATION_EXPORT const unsigned char MapboxVersionString[];
#import "MGLCalloutView.h"
#import "MGLMapCamera.h"
#import "MGLGeometry.h"
+#import "MGLDownloadable.h"
+#import "MGLDownloadRegion.h"
+#import "MGLDownloadController.h"
#import "MGLMapView.h"
#import "MGLMapView+IBAdditions.h"
#import "MGLMapView+MGLCustomStyleLayerAdditions.h"
@@ -22,5 +25,6 @@ FOUNDATION_EXPORT const unsigned char MapboxVersionString[];
#import "MGLPolyline.h"
#import "MGLShape.h"
#import "MGLStyle.h"
+#import "MGLTilePyramidDownloadRegion.h"
#import "MGLTypes.h"
#import "MGLUserLocation.h"
diff --git a/platform/ios/framework/Mapbox.m b/platform/ios/framework/Mapbox.m
index 93f58b9be6..cc3be1e2b2 100644
--- a/platform/ios/framework/Mapbox.m
+++ b/platform/ios/framework/Mapbox.m
@@ -17,6 +17,8 @@ static void InitializeMapbox() {
[MGLAccountManager class];
[MGLAnnotationImage class];
+ [MGLDownloadable class];
+ [MGLDownloadController class];
[MGLMapCamera class];
[MGLMapView class];
[MGLMultiPoint class];
@@ -25,5 +27,6 @@ static void InitializeMapbox() {
[MGLPolyline class];
[MGLShape class];
[MGLStyle class];
+ [MGLTilePyramidDownloadRegion class];
[MGLUserLocation class];
}