mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-31 13:01:15 +00:00
- Separate the access token initialization and offline maps initialization. - Make the initialization functions return promise so that the consumer code can know when mapbox and the offline packs are ready to be used. - Expose setConnected method. - Update docs.
21 lines
457 B
Objective-C
21 lines
457 B
Objective-C
//
|
|
// RCTMapboxGLManager.h
|
|
// RCTMapboxGL
|
|
//
|
|
// Created by Bobby Sudekum on 4/30/15.
|
|
// Copyright (c) 2015 Mapbox. All rights reserved.
|
|
//
|
|
|
|
#import <React/RCTViewManager.h>
|
|
|
|
@interface RCTMapboxGLManager : RCTViewManager {
|
|
NSMutableSet * _recentPacks;
|
|
NSMutableSet * _throttledPacks;
|
|
NSMutableArray * _packRequests;
|
|
NSMutableSet * _removedPacks;
|
|
int _throttleInterval;
|
|
BOOL _loadedPacks;
|
|
NSMutableSet * _loadingPacks;
|
|
}
|
|
@end
|