Merge branch 'ios-unused'
Left in MGLTypes.h, which is now a platform-neutral (iOS + OS X) place for MGLUserTrackingMode.
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MGLStyleFunctionValue : NSObject
|
||||
|
||||
+ (instancetype)linearFunctionWithBaseZoomLevel:(CGFloat)zBase
|
||||
initialValue:(CGFloat)val
|
||||
slope:(CGFloat)slope
|
||||
minimumValue:(CGFloat)min
|
||||
maximumValue:(CGFloat)max;
|
||||
|
||||
+ (instancetype)exponentialFunctionWithBaseZoomLevel:(CGFloat)zBase
|
||||
initialValue:(CGFloat)val
|
||||
slope:(CGFloat)slope
|
||||
minimumValue:(CGFloat)min
|
||||
maximumValue:(CGFloat)max;
|
||||
|
||||
+ (instancetype)minimumZoomLevelFunction:(CGFloat)minimumZoom;
|
||||
|
||||
+ (instancetype)maximumZoomLevelFunction:(CGFloat)maximumZoom;
|
||||
|
||||
+ (instancetype)stopsFunctionWithZoomLevelsAndValues:(NSNumber *)firstZoom, ... NS_REQUIRES_NIL_TERMINATION;
|
||||
|
||||
@end
|
||||
@@ -1,21 +1,5 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
// style property value types
|
||||
//
|
||||
extern NSString *const MGLStyleValueTypeBoolean;
|
||||
extern NSString *const MGLStyleValueTypeNumber;
|
||||
extern NSString *const MGLStyleValueTypeNumberPair;
|
||||
extern NSString *const MGLStyleValueTypeColor;
|
||||
extern NSString *const MGLStyleValueTypeString;
|
||||
|
||||
// style property function types
|
||||
//
|
||||
extern NSString *const MGLStyleValueTypeFunctionMinimumZoom;
|
||||
extern NSString *const MGLStyleValueTypeFunctionMaximumZoom;
|
||||
extern NSString *const MGLStyleValueTypeFunctionLinear;
|
||||
extern NSString *const MGLStyleValueTypeFunctionExponential;
|
||||
extern NSString *const MGLStyleValueTypeFunctionStops;
|
||||
|
||||
/// The degree to which the map view tracks the user’s location.
|
||||
typedef NS_ENUM(NSUInteger, MGLUserTrackingMode)
|
||||
{
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
#import "MGLAnnotation.h"
|
||||
#import "MGLMapView.h"
|
||||
#import "MGLStyleFunctionValue.h"
|
||||
#import "MGLTypes.h"
|
||||
#import "MGLUserLocation.h"
|
||||
#import "NSArray+MGLAdditions.h"
|
||||
#import "NSDictionary+MGLAdditions.h"
|
||||
#import "UIColor+MGLAdditions.h"
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface NSArray (MGLAdditions)
|
||||
|
||||
- (NSMutableArray *)deepMutableCopy;
|
||||
|
||||
@end
|
||||
@@ -1,7 +0,0 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface NSDictionary (MGLAdditions)
|
||||
|
||||
- (NSMutableDictionary *)deepMutableCopy;
|
||||
|
||||
@end
|
||||
@@ -1,11 +0,0 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface UIColor (MGLAdditions)
|
||||
|
||||
+ (UIColor *)colorWithRGBAString:(NSString *)rgbaString;
|
||||
- (NSString *)rgbaStringFromColor;
|
||||
|
||||
+ (UIColor *)colorWithHexString:(NSString *)hexString;
|
||||
- (NSString *)hexStringFromColor;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user