#1033 - Moving MBLocationManager to Core GL from app specific instance.
This commit is contained in:
24
include/mbgl/ios/MBLocationManager.h
Normal file
24
include/mbgl/ios/MBLocationManager.h
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// MBLocationManager.h
|
||||
// Hermes
|
||||
//
|
||||
// Created by Brad Leege on 3/8/15.
|
||||
// Copyright (c) 2015 Mapbox. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "CoreLocation/CoreLocation.h"
|
||||
|
||||
@interface MBLocationManager : NSObject <CLLocationManagerDelegate>
|
||||
|
||||
+ (id)sharedManager;
|
||||
|
||||
- (BOOL) isAuthorizedStatusDetermined;
|
||||
- (void) requestAlwaysAuthorization;
|
||||
|
||||
- (void) startUpdatingLocation;
|
||||
- (void) stopUpdatingLocation;
|
||||
|
||||
- (void) setBackgroundStatus:(BOOL)isBackground;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user