Files
MapLibreParticleLab/platform/ios/framework/Mapbox.m
Minh Nguyễn ff9c3a57b0 [ios, osx] Renamed MGLOfflineTask to MGLOfflinePack
“Offline pack” more effectively communicates the persistent nature of the downloaded content.
2016-03-10 17:14:14 -08:00

33 lines
806 B
Objective-C

#import <Mapbox/Mapbox.h>
#import "../src/NSBundle+MGLAdditions.h"
#import "../src/NSProcessInfo+MGLAdditions.h"
#import "../../darwin/src/NSString+MGLAdditions.h"
__attribute__((constructor))
static void InitializeMapbox() {
static int initialized = 0;
if (initialized) {
return;
}
mgl_linkBundleCategory();
mgl_linkStringCategory();
mgl_linkProcessInfoCategory();
[MGLAccountManager class];
[MGLAnnotationImage class];
[MGLMapCamera class];
[MGLMapView class];
[MGLMultiPoint class];
[MGLOfflinePack class];
[MGLOfflineStorage class];
[MGLPointAnnotation class];
[MGLPolygon class];
[MGLPolyline class];
[MGLShape class];
[MGLStyle class];
[MGLTilePyramidOfflineRegion class];
[MGLUserLocation class];
}